diff --git a/linux_os/guide/system/network/networkmanager/networkmanager_dns_mode/ansible/shared.yml b/linux_os/guide/system/network/networkmanager/networkmanager_dns_mode/ansible/shared.yml index e6b9987f0a19..54f6f47ef789 100644 --- a/linux_os/guide/system/network/networkmanager/networkmanager_dns_mode/ansible/shared.yml +++ b/linux_os/guide/system/network/networkmanager/networkmanager_dns_mode/ansible/shared.yml @@ -7,3 +7,8 @@ {{{ ansible_instantiate_variables("var_networkmanager_dns_mode") }}} {{{ ansible_ini_file_set("/etc/NetworkManager/NetworkManager.conf", "main", "dns", "{{ networkmanager_dns_mode }}") }}} + +- name: "{{{ rule_title }}} - Ensure Network Manager" + ansible.builtin.systemd: + name: NetworkManager + state: reloaded diff --git a/linux_os/guide/system/network/networkmanager/networkmanager_dns_mode/bash/shared.sh b/linux_os/guide/system/network/networkmanager/networkmanager_dns_mode/bash/shared.sh index 0ae3ab874801..7aa442cf8574 100644 --- a/linux_os/guide/system/network/networkmanager/networkmanager_dns_mode/bash/shared.sh +++ b/linux_os/guide/system/network/networkmanager/networkmanager_dns_mode/bash/shared.sh @@ -2,8 +2,10 @@ # reboot = false # strategy = configure # complexity = low -# disruption = low +# disruption = medium {{{ bash_instantiate_variables("var_networkmanager_dns_mode") }}} {{{ bash_ini_file_set("/etc/NetworkManager/NetworkManager.conf", "main", "dns", "$var_networkmanager_dns_mode") }}} + +sudo systemctl reload NetworkManager