Looks like include_tasks is what I am looking for... just need to get the
syntax right with the variables.
--
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
This is just off of the top of my head. I am doubtful the include syntax
will tolerate it, but I hope to test it soon. It does, however, give you a
good idea of what I am trying to do. Thoughts?
- include: "{{ item.main }}.yml -e '{{ item.vars }}'"
with_items:
- {main:
I am thinking this might work, but I haven't tested it yet. I have a few
things to do before it can be tested.
- include: "{{ item.main }}.yml -e '{{ item.vars }}'"
with_items:
- {main: 'authconfig_cleanup', vars: "host={{ host }}"}
- {main: 'bash_history', vars: "host={{ host }}"}