homeserver/roles/mgrote_docker_compose_inline
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
..
defaults redeploy nextcloud with ldap (#96) 2024-06-03 21:23:53 +02:00
tasks add mkdocs-wiki (#601) 2023-11-16 20:09:14 +01:00
README.md ci: deploy config on merge or push (#127) 2024-07-09 22:27:57 +02:00

mgrote.docker-compose-inline

Beschreibung

Diese Rolle templated docker-compose-Ordner auf die Zielmaschine und startet dort die Container.

getestet auf

  • Ubuntu (>=20.04)

Variablen + Defaults

siehe defaults

Nutzung: Abbau Container

  1. setze state: absent
  2. lösche Ordner in compose_src_basedir
  3. Rolle ausführen

Nutzung: Hinzufügen Container

  1. ersteller Ordner in compose_src_basedir
  2. alle Dateien die templated werden sollen + IMMER docker-compose.yml mit der Dateiendung .j2 versehen
  3. Secrets: in *.j2-Dateien mit {{ lookup('viczem.keepass.keepass', '<name>', 'password') }} einbauen