ERROR: Syntax Error while loading YAML script, /private/tmp/wpe-ignore/ansible/roles/wordpress/tasks/database.yml
Note: The error may actually appear before this position: line 11, column 85
- name: Found dumpfile
debug: "msg='Populating database from {{ dumpfiles.stdout_lines | last | relpath(\'/vagrant\')}}'"
^
We could be wrong, but this one looks like it might be an issue with
missing quotes. Always quote template expression brackets when they
start a value. For instance:
with_items:
- {{ foo }}
Should be written as:
with_items:
- "{{ foo }}"
https://github.com/ideasonpurpose/basic-wordpress-vagrant/blob/master/ansible/roles/wordpress/tasks/database.yml#L11