mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-03 07:59:42 +00:00
17 lines
431 B
YAML
17 lines
431 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"
|
|
|
|
- include_tasks: utils/run_once.yml |