CHANGE: secrets moved to data/secret and added to .gitignore, references updated
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
# ---> Ansible
|
# ---> Ansible
|
||||||
*.retry
|
*.retry
|
||||||
|
data/secret/
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
roles:
|
roles:
|
||||||
- ../roles/0_basic_postinstall
|
- ../roles/0_basic_postinstall
|
||||||
vars_files:
|
vars_files:
|
||||||
../data/secrets.yaml
|
../data/secret/secrets.yaml
|
||||||
vars:
|
vars:
|
||||||
ansible_user_passwd_hash: "{{ ansible_become_password | password_hash('sha512', 's3edscrj45e6r') }}"
|
ansible_user_passwd_hash: "{{ ansible_become_password | password_hash('sha512', 's3edscrj45e6r') }}"
|
||||||
user_passwd_hash: "{{ user_password | password_hash('sha512', 's3ed6123jhgcr') }}"
|
user_passwd_hash: "{{ user_password | password_hash('sha512', 's3ed6123jhgcr') }}"
|
||||||
|
|||||||
+3
-1
@@ -1,2 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/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
|
||||||
Reference in New Issue
Block a user