upt playbook

This commit is contained in:
jaydee 2024-07-09 00:27:25 +02:00
parent 7ac519c756
commit 50110e773c

View File

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