xoxys.network/vars/redhat-9.yml
Robert Kaussow 233cf83f87
All checks were successful
continuous-integration/drone/push Build is passing
feat: add option to manage networkmanager config files
2022-11-11 21:51:36 +01:00

8 lines
212 B
YAML

---
__network_nmcli: True
__network_restart_command: |-
nmcli connection reload
{%- for file in __network_ifcfg | json_query('results[?changed==`true`].dest') %}
&& nmcli conn up {{ file }}
{%- endfor %}