feat: allow to connect to databases through traefik
This commit is contained in:
parent
4259b1e3d2
commit
e00b44896f
3 changed files with 18 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
export ANSIBLE_VAULT_PASSWORD_FILE := ".decrypt-pass.txt"
|
||||
export ANSIBLE_BECOME_PASSWORD_FILE := ".become-pass.txt"
|
||||
export ANSIBLE_VAULT_PASSWORD_FILE := justfile_directory() + "/.decrypt-pass.txt"
|
||||
export ANSIBLE_BECOME_PASSWORD_FILE := justfile_directory() + "/.become-pass.txt"
|
||||
|
||||
# Debug output, disabled in CI
|
||||
export ANSIBLE_DISPLAY_ARGS_TO_STDOUT := if env('CI', '') == 'true' { 'false' } else { 'true' }
|
||||
|
|
@ -17,6 +17,7 @@ ansible +ARGS:
|
|||
list-host:
|
||||
uv run ansible-inventory --list
|
||||
|
||||
[no-cd]
|
||||
encrypt +ARGS:
|
||||
uv run ansible-vault encrypt {{ ARGS }}
|
||||
|
||||
|
|
@ -26,5 +27,6 @@ encrypt-var NAME +CONTENT='':
|
|||
decrypt-var FILE NAME:
|
||||
uv run ansible localhost -m ansible.builtin.debug -e "@{{ FILE }}" -a var="{{ NAME }}"
|
||||
|
||||
[no-cd]
|
||||
decrypt +ARGS:
|
||||
uv run ansible-vault edit {{ ARGS }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue