Добавил смену пароля ansible-vault

This commit is contained in:
2025-03-18 11:07:42 +03:00
parent e8dc4fe994
commit 3485de46fb
3 changed files with 2 additions and 58 deletions

View File

@@ -83,6 +83,7 @@ vault:
create) $(RUN) bash -c "ansible-vault create --encrypt-vault-id default --vault-password-file vault-password.txt vars/secrets.yml";; \
edit) $(RUN) bash -c "ansible-vault edit --vault-password-file vault-password.txt vars/secrets.yml";; \
delete) $(RUN) bash -c "rm vars/secrets.yml";; \
rekey) $(RUN) bash -c "ansible-vault rekey --vault-password-file vault-password.txt vars/secrets.yml";; \
*) echo "Unknown action";; \
esac