You should adjust the variables in thevars
file to point to the matchingvault_
variables
10:35 $ tree
.
├── group_vars
│ ├── standalone.yml
│ ├── vault.yml
ansible-playbook -v -i inventory/standalone/standalone services/standalone.yml --vault-password-file ~/.vault_pass.txt -u vagrant --tags "filebeat"
This gives me the following error:
fatal: [192.168.1.99]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: {{ vault_forwarder_crt }}: 'vault_forwarder_crt' is undefined"}
In my standalone.yml I have `forwarder_crt: "{{ vault_forwarder_crt }}"` and then I have the variable `vault_forwarder_crt` in vault.yml (which is encrypted).
Did I miss something from your instructions, or misunderstand?
Thanks in advance!
Kai's example uses the group named webservers and works
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/pkNMCBteDAk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b4c5b6dc-cc3f-4f59-85ab-2aa163518116%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.