Files
computer-playbook/roles/update-compose/tasks/01_core.yml
Kevin Veen-Birkenbach c06d1c4d17 Refactor yay update handling:
- Move AUR update task into dev-yay role
- Centralize defaults (AUR_HELPER, AUR_BUILDER_USER, etc.)
- Remove separate update-yay role (redundant)

See conversation with ChatGPT https://chatgpt.com/share/68da3219-6d78-800f-92ad-0a5061bac8be and related work item:
https://open.project.infinito.nexus/projects/cymais/work_packages/341/activity
2025-09-29 09:16:02 +02:00

16 lines
395 B
YAML

---
- name: "Check if {{ PATH_DOCKER_COMPOSE_INSTANCES }} directory exists"
stat:
path: "{{ PATH_DOCKER_COMPOSE_INSTANCES }}"
register: docker_compose_directory_stat
- name: "Update with pacman"
include_role:
name: update-pacman
when: ansible_distribution == 'Archlinux'
- name: "Update with apt"
include_role:
name: update-apt
when: ansible_distribution == "Debian"