Skip to content

enable ipv6 on Alpine Linux #22

@skyfaller

Description

@skyfaller

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions