upt playbook

This commit is contained in:
jaydee 2024-07-09 00:25:29 +02:00
parent 12cff6ca07
commit 7ac519c756

View File

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