mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 12:38:11 +00:00
upt playbook
This commit is contained in:
parent
12cff6ca07
commit
7ac519c756
@ -73,8 +73,8 @@
|
||||
- ping3
|
||||
- psutil
|
||||
- autorandr
|
||||
when: inventory_hostname not in groups['nas']
|
||||
become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"
|
||||
when: inventory_hostname not in groups['nas','router']
|
||||
become: "{{ 'no' if inventory_hostname in groups['nas','router'] else 'yes' }}"
|
||||
|
||||
|
||||
- name: Just force systemd to reread configs (2.4 and above)
|
||||
@ -97,7 +97,7 @@
|
||||
poll: 0
|
||||
when: inventory_hostname in groups['nas']
|
||||
become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"
|
||||
|
||||
|
||||
- name: Restart mqtt service
|
||||
ansible.builtin.shell: "(/jffs/scripts/mqtt_srv/mqtt_srv.sh restart >/dev/null 2>&1 &)"
|
||||
async: 10
|
||||
|
Loading…
x
Reference in New Issue
Block a user