Replies: 3 comments 2 replies
-
why not use multiple plays instead. this way you stay within the same playbook run. play 1 generates the dynamic inventory (probably targeting localhost) play 2 then targets the generated hosts. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This is now probably a non-ansibleforms discussion ? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Was not related to AnsibleForms. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, have been fiddling around this morning run playbooks against a dynamically generated inventory. I think, I need a multistep form for this, but before I figure that out, I do not see how get the plugin to work.
It is the following plugin I would like to use: https://github.com/freeipa/ansible-freeipa/blob/master/plugins/inventory/freeipa.py
So installed the "anwsible-freeipa" collection using the maintenance forms included with ansibleforms, that succeeded and can find the plugin . But how do I generate the inventory and pass this to a subsequent playbook?
multistep form:
linuxupdates_geninv.yaml:
Also added enable_plugins setting in ansible.cfg:
Beta Was this translation helpful? Give feedback.
All reactions