xoxys.network/vars/redhat-9.yml

7 lines
190 B
YAML
Raw Normal View History

---
__network_restart_command: |-
2022-10-11 07:48:18 +00:00
nmcli connection reload
{%- for file in __network_ifcfg | json_query('results[?changed==`true`].dest') %}
2022-10-11 07:48:18 +00:00
&& nmcli conn up {{ file }}
{%- endfor %}