mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
Merge pull request #3925 from jvonau/1520
1520 [systemctl daemon_reload if not no_net_restart or...]
This commit is contained in:
commit
18c287fe27
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ fi
|
|||
echo "Ansible will now run iiab-network.yml -- log file is iiab-network.log"
|
||||
Start=`date`
|
||||
ansible -m setup -i ansible_hosts localhost --connection=local | grep python
|
||||
ansible-playbook -i ansible_hosts iiab-network.yml --connection=local
|
||||
ansible-playbook -i ansible_hosts iiab-network.yml --extra-vars "{\"skip_role_on_error\":false}" --connection=local
|
||||
End=`date`
|
||||
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
- name: Reload systemd
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
when: not iiab_lan_iface == "br0"
|
||||
when: not no_net_restart or not iiab_lan_iface == "br0"
|
||||
|
||||
- name: Restart the NetworkManager service
|
||||
systemd:
|
||||
|
|
Loading…
Reference in a new issue