mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 12:29:39 +01:00
Solved docker_repository_path bug
This commit is contained in:
parent
a4c3bcd6af
commit
97256bfa15
@ -16,14 +16,15 @@ defaults_service_provider:
|
|||||||
logo: https://cloud.veen.world/s/logo_cymais_512x512/download
|
logo: https://cloud.veen.world/s/logo_cymais_512x512/download
|
||||||
favicon: https://cloud.veen.world/s/veen_world_favicon/download
|
favicon: https://cloud.veen.world/s/veen_world_favicon/download
|
||||||
contact:
|
contact:
|
||||||
bluesky: "@{{administrator_username}}.{{domains.bluesky_api}}"
|
bluesky: "{{ '@' ~ administrator_username ~ '.' ~ domains.bluesky_api if 'bluesky' in group_names else '' }}"
|
||||||
email: "contact@{{primary_domain}}"
|
email: "contact@{{ primary_domain }}"
|
||||||
mastodon: "@{{administrator_username}}@{{domains.mastodon}}"
|
mastodon: "{{ '@' ~ administrator_username ~ '@' ~ domains.mastodon if 'mastodon' in group_names else '' }}"
|
||||||
matrix: "@{{administrator_username}}:{{domains.matrix_synapse}}"
|
matrix: "{{ '@' ~ administrator_username ~ ':' ~ domains.matrix_synapse if 'matrix' in group_names else '' }}"
|
||||||
peertube: "@{{administrator_username}}@{{domains.peertube}}"
|
peertube: "{{ '@' ~ administrator_username ~ '@' ~ domains.peertube if 'peertube' in group_names else '' }}"
|
||||||
pixelfed: "@{{administrator_username}}@{{domains.pixelfed}}"
|
pixelfed: "{{ '@' ~ administrator_username ~ '@' ~ domains.pixelfed if 'pixelfed' in group_names else '' }}"
|
||||||
phone: "+0 000 000 404"
|
phone: "+0 000 000 404"
|
||||||
wordpress: "@{{administrator_username}}@{{domains.wordpress[0]}}"
|
wordpress: "{{ '@' ~ administrator_username ~ '@' ~ domains.wordpress[0] if 'wordpress' in group_names else '' }}"
|
||||||
|
|
||||||
legal:
|
legal:
|
||||||
editorial_responsible: "Johannes Gutenberg"
|
editorial_responsible: "Johannes Gutenberg"
|
||||||
source_code: "https://github.com/kevinveenbirkenbach/cymais"
|
source_code: "https://github.com/kevinveenbirkenbach/cymais"
|
||||||
|
@ -5,7 +5,7 @@ This Ansible role sets up and manages your Docker repository. It ensures that th
|
|||||||
## Features 🔧
|
## Features 🔧
|
||||||
|
|
||||||
- **Default Path Setup:**
|
- **Default Path Setup:**
|
||||||
Automatically sets a default `docker_repository_path` if not already defined.
|
Automatically sets a default `docker_repository_path`
|
||||||
|
|
||||||
- **Repository Management:**
|
- **Repository Management:**
|
||||||
Clones or updates your Docker repository from a specified Git repository.
|
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.
|
- `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`.
|
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
|
## Author
|
||||||
|
|
||||||
Kevin Veen-Birkenbach
|
Kevin Veen-Birkenbach
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
- name: Set default docker_repository_path if not defined
|
- name: Set default docker_repository_path
|
||||||
set_fact:
|
set_fact:
|
||||||
docker_repository_path: "{{docker_compose.directories.services}}repository/"
|
docker_repository_path: "{{docker_compose.directories.services}}repository/"
|
||||||
when: docker_repository_path is not defined
|
|
||||||
|
|
||||||
- name: pull docker repository
|
- name: pull docker repository
|
||||||
git:
|
git:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user