From add3bdb4f80ae4c51d06785ec507799bedfbd0ad Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sat, 20 Apr 2019 10:23:21 +0100 Subject: [PATCH] Tidy --- .ansible/roles/linux_desktop/tasks/config.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 }}"