Initial commit - system update playbook

This commit is contained in:
2023-11-24 08:38:22 +02:00
commit debe297456
2 changed files with 55 additions and 0 deletions

18
hatarashi-pasokom.yaml Normal file
View File

@@ -0,0 +1,18 @@
---
- name: Update all packages (Debian)
hosts: takahe
become: yes
vars:
ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
ansible_sudo_pass: "{{ ANSIBLE_SUDO_PASS }}"
tasks:
- name: Update package cache
apt:
update_cache: yes
- name: Upgrade all packages
apt:
upgrade: yes
autoremove: yes
autoclean: yes