upt playbook

This commit is contained in:
jaydee 2024-07-09 00:58:19 +02:00
parent 20d954ed3f
commit 2b88f1b008

View File

@ -6,6 +6,8 @@
ansible.builtin.apt:
name:
- python3-pip
update_cache: yes
when: inventory_hostname not in groups['nas'] and inventory_hostname not in groups['router']
become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"