aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/yay/tasks/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-25 12:03:30 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-25 12:03:30 +0100
commitde0a57525994b25bbefa892a46ea3955c35341ab (patch)
tree2b88d1cea26871a3971c93024a2eb7c828523162 /roles/yay/tasks/main.yml
parentworkflows/run: upgrade an action (diff)
downloadmaintenance-de0a57525994b25bbefa892a46ea3955c35341ab.tar.gz
maintenance-de0a57525994b25bbefa892a46ea3955c35341ab.zip
linting
Diffstat (limited to 'roles/yay/tasks/main.yml')
-rw-r--r--roles/yay/tasks/main.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/roles/yay/tasks/main.yml b/roles/yay/tasks/main.yml
index 49356c7..a8a1c70 100644
--- a/roles/yay/tasks/main.yml
+++ b/roles/yay/tasks/main.yml
@@ -1,17 +1,17 @@
- name: Check if yay is installed
command: yay --version
register: yay_version
- changed_when: no
- failed_when: no
+ changed_when: false
+ failed_when: false
- when: yay_version.rc == 0
block:
- name: Upgrade packages
kewlfft.aur.aur:
use: yay
- update_cache: yes
- upgrade: yes
- aur_only: yes
+ update_cache: true
+ upgrade: true
+ aur_only: true
register: yay_result
notify: reboot