Changed file structure. Added zabbix proxy playbook

This commit is contained in:
2025-08-24 14:30:55 +02:00
parent 0a3b5a9e2c
commit 004264bb38
4 changed files with 96 additions and 28 deletions

14
playbooks/apt_upgrade.yml Normal file
View File

@@ -0,0 +1,14 @@
- name: Upgrade packages
hosts: ubuntu
become: true
tasks:
- name: Update cache
ansible.builtin.apt:
update_cache: true
register: cache_updated
- name: Upgrade packages if something is changed
ansible.builtin.apt:
upgrade: "yes"
when: cache_updated.changed