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' }}"