You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to execute the ansible-playbook -i inventory.yml bootstrap.yml --vault-password-file ~/.vault_pass.txt I get the following error:
ERROR! Syntax Error while loading YAML.
did not find expected '-' indicator
The error appears to have been in '/home/vagrant/irix_ansible/group_vars/default/vault.yml': line 2, column 1, but may
be elsewhere in the file depending on the exact syntax problem.
The vault.yml was created exactly as noted in the readme:
- - -
su_password: rootpasswordhere
and encrypted with the ansible-encrypt command.
I worked around it by removing all references to the vault and manually entering the password in each of the root .yml files.
This is using Ansible 2.7.6, python 2.7.9, inside the booterizer vm.
The text was updated successfully, but these errors were encountered:
Looks like the issue is a bad copy of the --- vs - - - on the first line. I would like to suggest the example vault.yml in the master branch be the unencrypted file that end users just need to edit instead of having to delete / recreate.
When trying to execute the
ansible-playbook -i inventory.yml bootstrap.yml --vault-password-file ~/.vault_pass.txt
I get the following error:The vault.yml was created exactly as noted in the readme:
and encrypted with the ansible-encrypt command.
I worked around it by removing all references to the vault and manually entering the password in each of the root .yml files.
This is using Ansible 2.7.6, python 2.7.9, inside the booterizer vm.
The text was updated successfully, but these errors were encountered: