1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

stdout_lines

This commit is contained in:
Jerry Vonau 2018-12-13 10:43:11 -06:00
parent 3167f8133a
commit 27470ab830

View file

@ -5,13 +5,17 @@
- name: Disable cloud-init the easy way
shell: touch /etc/cloud/cloud-init.disabled
when: "{{ netplan }}" == "50-cloud-init.yaml"
when: "{{ item }}" == "50-cloud-init.yaml"
with_items:
- "{{ netplan.stdout_lines }}"
- name: Remove stock netplan template
file:
state: absent
dest: /etc/netplan/{{ netplan }}
when: netplan != ""
dest: /etc/netplan/{{ item }}
when: "{{ item }}" != ""
with_items:
- "{{ netplan.stdout_lines }}"
### NM might need attention also
- name: Disable the stock dnsmasq unit file that starts too early with systemd_networkd_active