Hi,

I'm using ansible 2.4.1 to run a couple of playbooks behind a text UI. At 
the time the script starts, group_vars/all.yml doesn't exist - I run a 
dynamic playbook within the script to gather some facts to define the 
all.yml.

My problem is that within the same script, once the all.yml is created I 
attempt a static playbook, but am finding that because all.yml didn't exist 
when the main ansible modules were imported the contents of the all.yml I 
created are ignored.

Is there a way to update the vars to include the new all.yml, so the 2nd 
playbook will have access to them?

I tried adding them to the variablemanager instance via extra_vars and even 
_vars_cache but neither worked.

Any help appreciated!

PC


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to