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