Ansible/update-ohne-reboot

9 lines
253 B
Plaintext
Raw Normal View History

2023-06-14 19:04:14 +02:00
- hosts: all
become: true
become_user: root
tasks:
- name: apt update auf allen Servern
apt: update_cache=yes force_apt_get=yes cache_valid_time=3600
- name: apt upgrade -y auf allen Servern
apt: upgrade=dist force_apt_get=yes