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: 'authconfig_cleanup', vars: "host={{ host }}"}
    - {main: 'bash_history', vars: "host={{ host }}"}
    - {main: 'change_timezone', vars: "host={{ host }}"}
    - {main: 'dmesg_timestamps', vars: "host={{ host }}"}
    - {main: 'firefox_no_gui', vars: "host={{ host }}"}
    - {main: 'grub_timeout', vars: "host={{ host }}"}
    - {main: 'update_gitlab_script', vars: "host={{ host }} password={{ 
gitlab_password}}"}


-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e207217c-87f5-403c-bde0-cff576ce3966%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to