From 2aafdd8918c226e22b8d0394bb4cb5c83c64136c Mon Sep 17 00:00:00 2001 From: jaydee Date: Sun, 7 Jul 2024 23:03:37 +0200 Subject: [PATCH] bitwarden --- playbooks/install_mqtt_srv.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/install_mqtt_srv.yml b/playbooks/install_mqtt_srv.yml index 36f69c6..25d754a 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 package - ansible.builtin.shell: '/share/ZFS530_DATA/.qpkg/QPython312/bin/python3 /share/Data/__GITLAB/mqtt_srv/mqtt_srv.py > /dev/null 2>&1 &' + ansible.builtin.shell: /etc/init.d/mqtt start when: inventory_hostname in groups['nas'] become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"