One of the tasks in my provision playbook is to loop through the printers, and install each one. I wrote a script to do that (mkdir, download, install, check) and thought it might be better to use YML instead of BASH. Does it make sense for my provision playbook to invoke my install_printer playbook, passing variables (IP address, printer name, etc.) each time through the loop? I suppose I could just use the command module to call ansible-playbook. I was thinking there might be a better way.
Does having one playbook invoke another playbook make sense? -- 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/5550640a-4736-4341-a3fe-ad3676ec33dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
