Broken code:
|
- name: Add the server's ipv6 address to local /etc/hosts file |
|
lineinfile: |
|
dest: /etc/hosts |
|
regexp: "^\\S+:\\S+\\s+{{ linode_label }}$" |
|
line: "{{ created_linode.instance.ipv6.split('/')[0] | lower }}\t{{ linode_label }}" |
|
state: present |
|
become: true |
Only the IPv4 address seems to be in my /etc/hosts ?
Broken code:
linode-caddy/roles/new-linode_create/tasks/main.yml
Lines 109 to 115 in 30b9d7f
Only the IPv4 address seems to be in my /etc/hosts ?