mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 05:07:06 +01:00
upt playbook
This commit is contained in:
1 parent
20d954ed3f
commit
2b88f1b008
1 file changed
+2
@@ -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