]> freie-schul-it.de Git - fsit-smgt.git/blob - examples/server-mgt-with-ansible/update-all-server.yml
weitere playbooks umbenannt
[fsit-smgt.git] / examples / server-mgt-with-ansible / update-all-server.yml
1 ---
2 - name: update all CTs
3 hosts: container
4 become: yes
5 tasks:
6 - name: Update and upgrade apt packages
7 apt:
8 update_cache: yes
9 upgrade: yes
10 autoremove: yes
11 - name: update all Baremetals
12 hosts: baremetal
13 become: yes
14 tasks:
15 - name: Update and upgrade apt packages
16 apt:
17 update_cache: yes
18 upgrade: yes
19 autoremove: yes