diff --git a/inventory.yml b/inventory.yml index 4e6d616..01253db 100644 --- a/inventory.yml +++ b/inventory.yml @@ -5,5 +5,9 @@ stack4: kirk: brandine: +webs: + hosts: + web[00:09]: + vars: ansible_python_interpreter: /usr/bin/python3 diff --git a/roles/upgrade/tasks/main.yml b/roles/upgrade/tasks/main.yml new file mode 100644 index 0000000..4f23734 --- /dev/null +++ b/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