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:
parent
bba77de643
commit
ab8017647a
1 changed files with 4 additions and 4 deletions
|
@ -7,14 +7,14 @@
|
||||||
shell: touch /etc/cloud/cloud-init.disabled
|
shell: touch /etc/cloud/cloud-init.disabled
|
||||||
when: ("item" == "50-cloud-init.yaml")
|
when: ("item" == "50-cloud-init.yaml")
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ netplan.stdout }}"
|
- "{{ netplan.stdout }}"
|
||||||
|
|
||||||
- name: Remove stock netplan template
|
- name: Remove stock netplan template
|
||||||
file:
|
file:
|
||||||
state: absent
|
state: absent
|
||||||
dest: /etc/netplan/{{ item }}
|
dest: /etc/netplan/{{ item }}
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ netplan.stdout }}"
|
- "{{ netplan.stdout }}"
|
||||||
when: netplan.stdout.find("yml") != -1
|
when: netplan.stdout.find("yml") != -1
|
||||||
|
|
||||||
### NM might need attention also
|
### NM might need attention also
|
||||||
|
@ -35,8 +35,8 @@
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
enabled: yes
|
enabled: yes
|
||||||
with_items:
|
with_items:
|
||||||
- iiab-dnsmasq
|
- iiab-dnsmasq
|
||||||
- systemd-networkd-wait-online
|
- systemd-networkd-wait-online
|
||||||
when: systemd_networkd_active
|
when: systemd_networkd_active
|
||||||
|
|
||||||
# ICO will always set gui_static_wan_ip away from the default of 'unset' while
|
# ICO will always set gui_static_wan_ip away from the default of 'unset' while
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue