infra-ansible/playbook/update.yml

7 lines
123 B
YAML

- hosts: all
tasks:
- name: update a server
apt: update_cache=yes
- name: upgrade a server
apt: upgrade