diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-25 12:03:30 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-25 12:03:30 +0100 |
commit | de0a57525994b25bbefa892a46ea3955c35341ab (patch) | |
tree | 2b88d1cea26871a3971c93024a2eb7c828523162 /roles/apt/tasks | |
parent | workflows/run: upgrade an action (diff) | |
download | maintenance-de0a57525994b25bbefa892a46ea3955c35341ab.tar.gz maintenance-de0a57525994b25bbefa892a46ea3955c35341ab.zip |
linting
Diffstat (limited to '')
-rw-r--r-- | roles/apt/tasks/main.yml | 12 |
1 files changed, 6 insertions, 6 deletions
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 |