1
0
IaC/notes/ansible_cheat_sheet.txt
2022-10-24 21:53:39 +13:00

13 lines
389 B
Plaintext

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