Solved docker_repository_path bug

This commit is contained in:
2025-02-20 17:44:55 +01:00
parent a4c3bcd6af
commit 97256bfa15
3 changed files with 11 additions and 17 deletions

View File

@@ -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

View File

@@ -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: