From 3d066f0600bbe4e0ad28671cca33d6ed81a00e52 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sun, 7 Jul 2024 22:43:04 +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 5a8b2b1..92c2b70 100644 --- a/playbooks/install_mqtt_srv.yml +++ b/playbooks/install_mqtt_srv.yml @@ -64,7 +64,7 @@ - name: Install bottle python package ansible.builtin.shell: python3 /share/Data/__GITLAB/mqtt_srv/mqtt_srv.py > /dev/null 2>&1 & - when: inventory_hostname not in groups['nas'] + when: inventory_hostname in groups['nas'] become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}" \ No newline at end of file