From ab8017647a627e5359f616078c980f914efb21d5 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sun, 16 Dec 2018 06:26:55 -0600 Subject: [PATCH] Apply suggestions from code review as requested Co-Authored-By: jvonau --- roles/network/tasks/netplan.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/network/tasks/netplan.yml b/roles/network/tasks/netplan.yml index f8b53e037..6087be6a2 100644 --- a/roles/network/tasks/netplan.yml +++ b/roles/network/tasks/netplan.yml @@ -7,14 +7,14 @@ shell: touch /etc/cloud/cloud-init.disabled when: ("item" == "50-cloud-init.yaml") with_items: - - "{{ netplan.stdout }}" + - "{{ netplan.stdout }}" - name: Remove stock netplan template file: state: absent dest: /etc/netplan/{{ item }} with_items: - - "{{ netplan.stdout }}" + - "{{ netplan.stdout }}" when: netplan.stdout.find("yml") != -1 ### NM might need attention also @@ -35,8 +35,8 @@ name: "{{ item }}" enabled: yes with_items: - - iiab-dnsmasq - - systemd-networkd-wait-online + - iiab-dnsmasq + - systemd-networkd-wait-online when: systemd_networkd_active # ICO will always set gui_static_wan_ip away from the default of 'unset' while