diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index c4b3c00..28503b1 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -7,6 +7,14 @@ copy: src=apt.conf dest=/etc/apt/apt.conf when: ansible_hostname != "s-adm" +- name: Sysctl : desactive ipv6 + sysctl: + name: net.ipv6.conf.all.disable_ipv6 + value: 1 + sysctl_set: yes + state: present + reload: yes + - name: Update + Upgrade apt: upgrade: yes