From 41d0da3c3135d2413632c3a2279d79fd8d74c3f1 Mon Sep 17 00:00:00 2001 From: jaydee Date: Thu, 10 Aug 2023 11:31:31 +0200 Subject: [PATCH] upt playbook --- playbooks/apt_upgrade.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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