1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +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 - name: Disable cloud-init the easy way
shell: touch /etc/cloud/cloud-init.disabled 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 - name: Remove stock netplan template
file: file:
state: absent state: absent
dest: /etc/netplan/{{ netplan }} dest: /etc/netplan/{{ item }}
when: netplan != "" when: "{{ item }}" != ""
with_items:
- "{{ netplan.stdout_lines }}"
### NM might need attention also ### NM might need attention also
- name: Disable the stock dnsmasq unit file that starts too early with systemd_networkd_active - name: Disable the stock dnsmasq unit file that starts too early with systemd_networkd_active