diff --git a/playbooks/install_mqtt_srv.yml b/playbooks/install_mqtt_srv.yml index 1e19295..c3fad54 100644 --- a/playbooks/install_mqtt_srv.yml +++ b/playbooks/install_mqtt_srv.yml @@ -63,7 +63,7 @@ become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}" - name: Install bottle python package1 - ansible.builtin.shell: "(/etc/init.d/mqtt start >/dev/null 2>&1 &)" + ansible.builtin.shell: "(/etc/init.d/mqtt restart >/dev/null 2>&1 &)" async: 10 poll: 0 when: inventory_hostname in groups['nas']