homeserver/roles/mgrote_docker_compose_inline/README.md
Michael Grote 28f22968da
Some checks failed
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline was successful
ci/woodpecker/push/ansible-playbook Pipeline failed
ci: deploy config on merge or push (#127)
Reviewed-on: #127
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>

ci: testing deployment (#128)

Reviewed-on: #128
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>

ci: test

ci: enable deployment

ci: set ssh-key for deployment

ci: debug

ci: deactivate ansible-lint temporarily

ci: deactivate ansible-galaxy temporarily

ci: debug ssh-key shell redirect

ci: base64

ci: debug

ci: debug

ci: fix output

Revert "ci: deactivate ansible-lint temporarily"

This reverts commit 6729342f26.

ci: fix vault-pass secret

pbs_integration: enable no_log

ci: debug ansible-vault

ci: debug

ci: ansible-vault + move to viczem.keepass (#130)

Reviewed-on: #130
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>

ff

plugin umbennennugn

ff
2024-07-09 22:27:57 +02:00

27 lines
671 B
Markdown

# mgrote.docker-compose-inline
### Beschreibung
Diese Rolle templated docker-compose-Ordner auf die Zielmaschine und startet dort die Container.
### getestet auf
- [X] Ubuntu (>=20.04)
### Variablen + Defaults
siehe [defaults](./defaults/main.yml)
### Nutzung: Abbau Container
1. setze `state: absent`
1. lösche Ordner in `compose_src_basedir`
2. Rolle ausführen
### Nutzung: Hinzufügen Container
1. ersteller Ordner in `compose_src_basedir`
1. alle Dateien die templated werden sollen + IMMER `docker-compose.yml` mit der Dateiendung `.j2` versehen
1. Secrets: in `*.j2`-Dateien mit `{{ lookup('viczem.keepass.keepass', '<name>', 'password') }}
` einbauen