On 15/05/21 6:39 pm, Richard Hector wrote:

Any suggestions?

Is this stuff reasonable to do with ansible, and a templating language?

Do I need to write a custom plugin of some kind?

If I had a dynamic inventory, then I could probably generate extra variables at that stage, but that's further away too.

I should give lots of credit to the nice people on irc who helped me get as far as I have.

I've also thought that if I could pass data (as json perhaps?) to stdin of a local script, and capture the output (a list of strings, as json again?), that would probably work ok - I could then write the script in a language I'm more familiar with, such as perl.

Is that doable?

Thanks,
Richard

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d72c0e64-5912-3369-0be6-69aea22a75d0%40walnut.gen.nz.

Reply via email to