mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
bitwarden
This commit is contained in:
parent
052b2ec875
commit
ad31fa3f59
@ -30,7 +30,7 @@
|
|||||||
- name: Upload service script
|
- name: Upload service script
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: scripts/mqtt_srv.py
|
src: scripts/mqtt_srv.py
|
||||||
dest: /share/Data/__GITLAB/mqtt_srv/mqtt_srv.pyw
|
dest: /share/Data/__GITLAB/mqtt_srv/
|
||||||
mode: '755'
|
mode: '755'
|
||||||
owner: admin
|
owner: admin
|
||||||
when: inventory_hostname in groups['nas']
|
when: inventory_hostname in groups['nas']
|
||||||
@ -63,7 +63,9 @@
|
|||||||
become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"
|
become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"
|
||||||
|
|
||||||
- name: Install bottle python package1
|
- name: Install bottle python package1
|
||||||
ansible.builtin.shell: /etc/init.d/mqtt start
|
ansible.builtin.shell: "(/etc/init.d/mqtt start >/dev/null 2>&1 &)"
|
||||||
|
async: 10
|
||||||
|
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' }}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user