desactive ipv6 avec sysctl - role base

This commit is contained in:
phil 2021-04-07 13:30:33 +02:00
parent d5beb01f40
commit 1dc77e3d69

View File

@ -7,6 +7,14 @@
copy: src=apt.conf dest=/etc/apt/apt.conf copy: src=apt.conf dest=/etc/apt/apt.conf
when: ansible_hostname != "s-adm" 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 - name: Update + Upgrade
apt: apt:
upgrade: yes upgrade: yes