adding credentials
This commit is contained in:
13
notes/ansible_cheat_sheet.txt
Normal file
13
notes/ansible_cheat_sheet.txt
Normal file
@ -0,0 +1,13 @@
|
||||
cd ./ansible
|
||||
|
||||
# Ansible vault password is provided automatically by vault_password file
|
||||
# Path to vault_password file is provided automatically by ansible.cfg
|
||||
# Hence execution must be done from the context of the folder that holds ansible.cfg
|
||||
|
||||
|
||||
ansible-vault create [path-to-vault-file]
|
||||
ansibe-vault edit [path-to-vault-file]
|
||||
|
||||
|
||||
|
||||
ansible-playbook [path-to-playbook] #include file extension
|
Reference in New Issue
Block a user