CHANGE: secrets moved to data/secret and added to .gitignore, references updated

This commit is contained in:
2026-07-05 16:48:40 +00:00
parent 45d134003f
commit 197362151f
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
# ---> Ansible
*.retry
data/secret/
+1 -1
View File
@@ -5,7 +5,7 @@
roles:
- ../roles/0_basic_postinstall
vars_files:
../data/secrets.yaml
../data/secret/secrets.yaml
vars:
ansible_user_passwd_hash: "{{ ansible_become_password | password_hash('sha512', 's3edscrj45e6r') }}"
user_passwd_hash: "{{ user_password | password_hash('sha512', 's3ed6123jhgcr') }}"
+3 -1
View File
@@ -1,2 +1,4 @@
#!/bin/sh
ansible-playbook -i inventory/deploy/hosts.yaml playbooks/deploy.yaml --private-key ~/.ssh/ansible_key --vault-password-file .vault_pass
ansible-playbook -i inventory/deploy/hosts.yaml playbooks/deploy.yaml \
--private-key data/secret/ansible_key \
--vault-password-file data/secret/.vault_pass