Gluttony-Cluster/ansible/playbooks/update-cluster.yaml

14 lines
285 B
YAML
Raw Normal View History

2024-11-02 23:11:50 +00:00
- name: Update all machines in cluster
hosts: debian_hosts
become: yes
become_method: sudo
vars_files:
- ../secrets/gluttonycluster-credentials.yaml
tasks:
- name: Update system
become_user: root
apt:
update_cache: yes
upgrade: dist
become: yes