Browse Source

main Task für upgrade Rolle.

master
Olli Graf 1 year ago
parent
commit
37617e3873
  1. 4
      inventory.yml
  2. 7
      roles/upgrade/tasks/main.yml

4
inventory.yml

@ -5,5 +5,9 @@ stack4:
kirk: kirk:
brandine: brandine:
webs:
hosts:
web[00:09]:
vars: vars:
ansible_python_interpreter: /usr/bin/python3 ansible_python_interpreter: /usr/bin/python3

7
roles/upgrade/tasks/main.yml

@ -0,0 +1,7 @@
- name: PIs aktualisieren
become: true
apt:
upgrade: dist
update_cache: yes
cache_valid_time: 120
autoremove: yes
Loading…
Cancel
Save