Upon running some tasks I need to manipulate Ansible host variables. I created a dynamic inventory script that could support thata functionality and then I stucked: - inventory modules support only add_host which works only in-memory - I see no sign that ansible is capable of doing this: everything points to inventory providers like Tower, EC2, vagrant and Cobbler - I found one suggestion to handle inventory manipulation outside ansible
I can create a solution that could handle the new parameters in-memory and then call my inventory script and update it at the end of playbook run. But I'm thinking: is it so weird idea? Why haven't it designed this way? Or am I missing something? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ec8cb47c-40a9-4bb0-b23f-54247de17aca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
