mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue