Disable IPv6 Privacy as it causes some issues
This commit is contained in:
parent
6e3a23df41
commit
54c5b0cae0
|
@ -17,27 +17,27 @@
|
||||||
state: restarted
|
state: restarted
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: 'IPv6: Privacy'
|
# - name: 'IPv6: Privacy'
|
||||||
tags:
|
# tags:
|
||||||
- config
|
# - config
|
||||||
- ipv6
|
# - ipv6
|
||||||
block:
|
# block:
|
||||||
- name: 'IPv6: Privacy: Temporary addressing defaults'
|
# - name: 'IPv6: Privacy: Temporary addressing defaults'
|
||||||
lineinfile:
|
# lineinfile:
|
||||||
path: '/etc/ufw/sysctl.conf'
|
# path: '/etc/ufw/sysctl.conf'
|
||||||
state: present
|
# state: present
|
||||||
regexp: "net/ipv6/conf/{{ item }}/use_tempaddr"
|
# regexp: "net/ipv6/conf/{{ item }}/use_tempaddr"
|
||||||
line: "net/ipv6/conf/{{ item }}/use_tempaddr=2"
|
# line: "net/ipv6/conf/{{ item }}/use_tempaddr=2"
|
||||||
loop: ['default', 'all']
|
# loop: ['default', 'all']
|
||||||
become: true
|
# become: true
|
||||||
|
|
||||||
- name: 'IPv6: Privacy: Detect interfaces'
|
# - name: 'IPv6: Privacy: Detect interfaces'
|
||||||
shell: 'nmcli -t connection show | cut -f2 -d:'
|
# shell: 'nmcli -t connection show | cut -f2 -d:'
|
||||||
register: nmcli_connections
|
# register: nmcli_connections
|
||||||
|
|
||||||
- name: 'IPv6: Privacy: Network Manager enforcement'
|
# - name: 'IPv6: Privacy: Network Manager enforcement'
|
||||||
command: "nmcli connection modify uuid {{ item }} ipv6.ip6-privacy 2"
|
# command: "nmcli connection modify uuid {{ item }} ipv6.ip6-privacy 2"
|
||||||
loop: "{{ nmcli_connections.stdout_lines }}"
|
# loop: "{{ nmcli_connections.stdout_lines }}"
|
||||||
|
|
||||||
- name: 'Wireguard'
|
- name: 'Wireguard'
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue