Inital release 0.1.0

This commit is contained in:
2020-06-04 00:41:22 +03:00
parent 6a946541d5
commit 84dbf2030c
10 changed files with 130 additions and 7 deletions

View File

@@ -1,6 +1,17 @@
---
- name: networkd | Reload configuration
- name: networkd | Do restart
systemd:
name: systemd-networkd
state: restarted
# From man:
# Reload .netdev and .network files. If a new .netdev file is found, then the corresponding netdev is created.
# Note that even if an existing .netdev is modified or removed, systemd-networkd does not update or remove the netdev.
# If a new, modified or removed .network file is found, then all interfaces which match the file are reconfigured.
- name: networkd | Do reload
shell: networkctl reload
- name: networkd | Do nothing
debug:
msg: "Not applying new configuration due to selected action."