mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
upt playbook
This commit is contained in:
@ -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' }}"
|
||||
|
||||
|
Reference in New Issue
Block a user