diff options
Diffstat (limited to 'src/roles/yay')
-rw-r--r-- | src/roles/yay/meta/main.yml | 3 | ||||
-rw-r--r-- | src/roles/yay/tasks/main.yml | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/roles/yay/meta/main.yml b/src/roles/yay/meta/main.yml new file mode 100644 index 0000000..d708443 --- /dev/null +++ b/src/roles/yay/meta/main.yml @@ -0,0 +1,3 @@ +dependencies: + - role: common + - {role: pacman, when: has_pacman} 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 |