From 50110e773ce27753a02ed98f7dc0a3fb9b3927d9 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 9 Jul 2024 00:27:25 +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 9c807db..4092fbd 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'] + when: inventory_hostname not in groups['nas','router'] become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"