Implemented update for yay

This commit is contained in:
2023-12-03 16:20:30 +01:00
parent 3120b23eb4
commit ace70337ea
6 changed files with 56 additions and 11 deletions

View File

@@ -17,4 +17,15 @@
- name: "Update Docker Images"
include_role:
name: update-docker
when: docker_compose_directory_stat.stat.exists
when: docker_compose_directory_stat.stat.exists
- name: "Check if yay is installed"
command: which yay
ignore_errors: yes
register: yay_installed
changed_when: false
- name: "Update with yay"
include_role:
name: update-yay
when: yay_installed.rc == 0