Ansible : Debian updaten
Hier ein Beispiel für ein Playbook das ein Update auf einem Debian System ausführt.
- name: Update Repositories and update Distribution to the latest Version
apt:
update_cache: yes
cache_valid_time: 21600
upgrade: dist
dpkg_options: 'force-confold,force-confdef'
register: update_apt
tags: update_apt