Ver Fonte

Update ansible.md

Nordstrand há 3 anos atrás
pai
commit
44ea2d1cc6
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      config/automation/ansible.md

+ 2 - 0
config/automation/ansible.md

@@ -19,11 +19,13 @@ breadcrumbs:
 - Specify inventory file: `ansible-playbook -i <hosts> <playbook>`
 - Limit which groups/hosts to use (comma-separated): `ansible-playbook -l <group|host> <playbook>`
 - Limit which tasks to run using tags (comma-separated): `ansible-playbook -t <tag> <playbook>`
+- Use Vault password file: `ansible-playbook --vault-password-file <file> <...>`
 
 ## Vault
 
 - Use file for password: Just add the password as the only line in a file.
 - Encrypt, prompt for secret, using password file: `ansible-vault encrypt_string --vault-password-file ~/.ansible_vault/stuff`
+- To avoid leaking secrets in logs and stuff, use `no_log` in tasks handling secrets.
 
 ## Configuration