ok: [sun.apomorph.com] => {
"msg": "parameter=passed"
}
However, if you create vars.yml with the following:
parameter: file
And then change include.yml to contain the following:
- hosts: all
vars:
parameter: vars
vars_files:
- vars.yml
tasks:
- debug:
msg: parameter={{ parameter }}
The result is not what I would expect (the value from vars_file is utilized:
TASK: [debug ] ****************************************************************
ok: [sun.apomorph.com] => {
"msg": "parameter=file"
}
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1433906106.201974.291439441.457C266F%40webmail.messagingengine.com.