From de0a57525994b25bbefa892a46ea3955c35341ab Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 25 Jan 2023 12:03:30 +0100 Subject: linting --- roles/apt/tasks/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'roles/apt') diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml index 5a33688..f331995 100644 --- a/roles/apt/tasks/main.yml +++ b/roles/apt/tasks/main.yml @@ -1,15 +1,15 @@ - name: Check if apt is installed command: apt-get --version register: apt_version - changed_when: no - failed_when: no + changed_when: false + failed_when: false - when: apt_version.rc == 0 - become: yes + become: true block: - name: Upgrade packages apt: - update_cache: yes + update_cache: true upgrade: full notify: reboot @@ -18,8 +18,8 @@ - name: Clean up dependencies apt: - autoremove: yes - purge: yes + autoremove: true + purge: true notify: reboot - name: Flush handlers -- cgit v1.2.3