1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Apply suggestions from code review

as requested

Co-Authored-By: jvonau <jvonau3@gmail.com>
This commit is contained in:
A Holt 2018-12-16 06:26:55 -06:00 committed by GitHub
parent bba77de643
commit ab8017647a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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