mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-12 04:06:25 +00:00
- Move docker-container role loading after directory creation in docker-compose/01_core.yml - Extend allowed non-fatal errors for docker network disconnect (network missing, container missing, not found) - Extend allowed non-fatal errors for ./launcher destroy (missing script, missing directory, not found) Details: https://chatgpt.com/share/692ea63e-7738-800f-bdf1-011e96dc28e5
24 lines
581 B
YAML
24 lines
581 B
YAML
- include_tasks: utils/once_flag.yml
|
|
|
|
- name: Remove all docker compose pull locks
|
|
file:
|
|
path: "{{ PATH_DOCKER_COMPOSE_PULL_LOCK_DIR }}"
|
|
state: absent
|
|
|
|
- name: "reset (if enabled) for {{ role_name}}"
|
|
include_tasks: 02_reset.yml
|
|
when: MODE_RESET | bool
|
|
|
|
- name: "create {{ PATH_DOCKER_COMPOSE_INSTANCES }}"
|
|
file:
|
|
path: "{{ PATH_DOCKER_COMPOSE_INSTANCES }}"
|
|
state: directory
|
|
mode: 0700
|
|
owner: root
|
|
group: root
|
|
|
|
- name: "Load docker container role"
|
|
include_role:
|
|
name: docker-container
|
|
when: run_once_docker_container is not defined
|