mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
upt playbook
This commit is contained in:
parent
20d954ed3f
commit
2b88f1b008
@ -6,6 +6,8 @@
|
|||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name:
|
name:
|
||||||
- python3-pip
|
- python3-pip
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
when: inventory_hostname not in groups['nas'] and inventory_hostname not in groups['router']
|
when: inventory_hostname not in groups['nas'] and inventory_hostname not in groups['router']
|
||||||
become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"
|
become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user