diff --git a/playbooks/apt_upgrade.yml b/playbooks/apt_upgrade.yml index dd5b603..fa988a3 100644 --- a/playbooks/apt_upgrade.yml +++ b/playbooks/apt_upgrade.yml @@ -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 \ No newline at end of file + + - name: Upgrade the OS + ansible.builtin.apt: + upgrade: full \ No newline at end of file