QUIP: a co si treba zakryptovat sudo heslo pomoci vault ?
$ ansible-vault create secrets.yml
- dovnitr heslo:
ansible_become_pass: mypass123
(+ nezapomenout zahrnout secrets.yml do vars)
a pak si vault heslo ulozit do souboru a pouzit ho k --vault-password-file:
ansible all --vault-password-file=my_vault_password.txt -m ping