upt playbook

This commit is contained in:
jaydee 2023-08-10 11:31:31 +02:00
parent 09d40ba1b7
commit 41d0da3c31

View File

@ -2,9 +2,7 @@
name: Apt udate
become: true
tasks:
- name: Apt update
ansible.builtin.shell: 'apt update'
changed_when: false
- name: Apt upgrade
ansible.builtin.shell: 'apt -o Dpkg::Options::="--force-confnew" upgrade -y'
changed_when: false
- name: Upgrade the OS
ansible.builtin.apt:
upgrade: full