Tidy
This commit is contained in:
parent
837d0d1d16
commit
add3bdb4f8
|
@ -21,7 +21,7 @@
|
||||||
- config
|
- config
|
||||||
- ipv6
|
- ipv6
|
||||||
block:
|
block:
|
||||||
- name: 'IPv6: Privacy: Temporary addressing'
|
- name: 'IPv6: Privacy: Temporary addressing defaults'
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: "/etc/ufw/sysctl.conf"
|
path: "/etc/ufw/sysctl.conf"
|
||||||
state: present
|
state: present
|
||||||
|
@ -31,12 +31,9 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: 'IPv6: Privacy: Detect interfaces'
|
- name: 'IPv6: Privacy: Detect interfaces'
|
||||||
shell: "nmcli connection show | tail -n +2 | awk '{print $2}'"
|
shell: 'nmcli -t connection show | cut -f2 -d:'
|
||||||
register: nmcli_connections
|
register: nmcli_connections
|
||||||
|
|
||||||
- debug:
|
|
||||||
var: 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 }}"
|
||||||
|
|
Loading…
Reference in a new issue