From 6a26651b968dd4f968d1d9d5e6ccffcea24e69da Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 9 Jul 2024 00:29:35 +0200 Subject: [PATCH] upt playbook --- 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 6e5bdd2..2df0a40 100644 --- a/playbooks/install_mqtt_srv.yml +++ b/playbooks/install_mqtt_srv.yml @@ -6,7 +6,7 @@ ansible.builtin.apt: name: - python3-pip - when: inventory_hostname not in groups['nas','router'] + when: inventory_hostname not in groups['nas'] and inventory_hostname not in groups['router'] become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"