1
0
Fork 0
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:
A Holt 2025-01-30 12:27:04 -05:00 committed by GitHub
commit 18c287fe27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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`

View file

@ -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: