[ansible-project] vars_files cannot see register variables or variables set in group_vars, but can see one set from the command line when import_playbook used (v2.4)

2017-08-10 Thread Pa S
Hello: I'm trying to dynamically set which vault I'm using (don't want my test environment to use real passwords!). So I set up this in a play book that I'm doing an import_playbook from a different directory. If vault_file is set from the ansible-playbook command line, this works. If I set t

Re: [ansible-project] Variables between playbooks

2017-08-10 Thread Pa S
Well, aside from a thread on vars_files I just posted, you can use facts that seem to span imports of playbooks. see the set_facts documentation. You can also set variables in inventory files On Thursday, August 10, 2017 at 10:35:04 AM UTC-7, Kai Stian Olstad wrote: > > On 09. aug. 2017 22:56,