Commit 8c74bd1f authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Delete network config files from instance-debootstrap

parent 756bf837
......@@ -21,6 +21,20 @@
notify:
- restart networkd
- name: find network config files generated by the bootstrap process
find:
path: /etc/systemd/network
pattern: bootstrap-*.network
register: bootstrap_network_files
- name: delete network config files generated by the bootstrap process
file:
path: "{{item.path}}"
state: absent
loop: "{{bootstrap_network_files.files}}"
notify:
- restart networkd
- name: ensure bonding works correctly
include_tasks: bond.yml
loop: "{{ networkd|default([{'type': networkd_type}])|flatten(levels=1) }}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment