1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Restart iiab-clone-wifi if the ap0 device is not detected by ansible #3379

This commit is contained in:
Jerry Vonau 2022-10-02 23:07:58 -05:00
parent 6b69696f72
commit d349f2fe2f
2 changed files with 4 additions and 4 deletions

View file

@ -64,8 +64,8 @@
- name: Clone wifi if needed
systemd:
name: iiab-clone-wifi
state: started
when: wifi_up_down and can_be_ap
state: restarted
when: wifi_up_down and can_be_ap and ansible_ap0 is undefined
- name: Restart the networking service if appropriate
systemd:

View file

@ -54,8 +54,8 @@
- name: Clone wifi if needed
systemd:
name: iiab-clone-wifi
state: started
when: wifi_up_down and can_be_ap
state: restarted
when: wifi_up_down and can_be_ap and ansible_ap0 is undefined
- name: Enable & Restart systemd-networkd.service
systemd: