mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized and refactored portfolio for flock.town
This commit is contained in:
14
roles/docker-repository-setup/tasks/main.yml
Normal file
14
roles/docker-repository-setup/tasks/main.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- name: Set default docker_repository_path if not defined
|
||||
set_fact:
|
||||
docker_repository_path: "{{docker_compose.directories.services}}repository/"
|
||||
when: docker_repository_path is not defined
|
||||
|
||||
- name: pull docker repository
|
||||
git:
|
||||
repo: "{{ docker_repository_address }}"
|
||||
dest: "{{ docker_repository_path }}"
|
||||
update: yes
|
||||
notify:
|
||||
- docker compose project setup
|
||||
- rebuild docker repository
|
||||
become: true
|
Reference in New Issue
Block a user