mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Solved docker_repository_path bug
This commit is contained in:
@@ -5,7 +5,7 @@ This Ansible role sets up and manages your Docker repository. It ensures that th
|
||||
## Features 🔧
|
||||
|
||||
- **Default Path Setup:**
|
||||
Automatically sets a default `docker_repository_path` if not already defined.
|
||||
Automatically sets a default `docker_repository_path`
|
||||
|
||||
- **Repository Management:**
|
||||
Clones or updates your Docker repository from a specified Git repository.
|
||||
@@ -34,12 +34,6 @@ Ensure that you have set the following variables (either via your inventory, `gr
|
||||
- `docker_compose.directories.services`: The base directory where your Docker services are stored.
|
||||
The role will append `repository/` to this path to form `docker_repository_path`.
|
||||
|
||||
If `docker_repository_path` is not defined, the role will automatically set it to:
|
||||
|
||||
```yaml
|
||||
"{{ docker_compose.directories.services }}repository/"
|
||||
```
|
||||
|
||||
## Author
|
||||
|
||||
Kevin Veen-Birkenbach
|
||||
|
@@ -1,7 +1,6 @@
|
||||
- name: Set default docker_repository_path if not defined
|
||||
- name: Set default docker_repository_path
|
||||
set_fact:
|
||||
docker_repository_path: "{{docker_compose.directories.services}}repository/"
|
||||
when: docker_repository_path is not defined
|
||||
|
||||
- name: pull docker repository
|
||||
git:
|
||||
|
Reference in New Issue
Block a user