diff --git a/.ansible/roles/linux_desktop/tasks/config.yaml b/.ansible/roles/linux_desktop/tasks/config.yaml index d79c14d..56baffa 100644 --- a/.ansible/roles/linux_desktop/tasks/config.yaml +++ b/.ansible/roles/linux_desktop/tasks/config.yaml @@ -21,7 +21,7 @@ - config - ipv6 block: - - name: 'IPv6: Privacy: Temporary addressing' + - name: 'IPv6: Privacy: Temporary addressing defaults' lineinfile: path: "/etc/ufw/sysctl.conf" state: present @@ -31,12 +31,9 @@ become: true - 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 - - debug: - var: nmcli_connections - - name: 'IPv6: Privacy: Network Manager enforcement' command: "nmcli connection modify uuid {{ item }} ipv6.ip6-privacy 2" loop: "{{ nmcli_connections.stdout_lines }}"