aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/roles/yay/tasks
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-31 23:44:54 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-31 23:44:54 +0200
commit727ab17a644d52105746e18c301cf733b1181507 (patch)
tree71113c6efae3074899de965aee5489cb76362f8e /src/roles/yay/tasks
parentdowngrade Ansible (diff)
downloadmaintenance-727ab17a644d52105746e18c301cf733b1181507.tar.gz
maintenance-727ab17a644d52105746e18c301cf733b1181507.zip
move Ansible files to src/
Diffstat (limited to 'src/roles/yay/tasks')
-rw-r--r--src/roles/yay/tasks/main.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/roles/yay/tasks/main.yml b/src/roles/yay/tasks/main.yml
new file mode 100644
index 0000000..42150bf
--- /dev/null
+++ b/src/roles/yay/tasks/main.yml
@@ -0,0 +1,16 @@
+- name: Upgrade packages
+ kewlfft.aur.aur:
+ use: yay
+ update_cache: true
+ upgrade: true
+ aur_only: true
+ register: yay_result
+ notify: reboot
+
+- name: Show yay result
+ ansible.builtin.debug:
+ var: yay_result
+ when: yay_result
+
+- name: Flush handlers
+ ansible.builtin.meta: flush_handlers