1
0
IaC/notes/ansible_cheat_sheet.txt

13 lines
389 B
Plaintext
Raw Normal View History

2022-10-24 04:53:39 -04:00
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