mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
stdout_lines
This commit is contained in:
parent
3167f8133a
commit
27470ab830
1 changed files with 7 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue