I was wondering that myself, but the docs showed examples doing otherwise.... but I couldn't get it to work. I need to call the playbook before roles, which also seems to fail. Do you know of a way to import_playbook before executing a role or set of roles?
On Tuesday, March 13, 2018 at 1:23:39 PM UTC-6, Kai Stian Olstad wrote: > > On Tuesday, 13 March 2018 20.16.29 CET John Harmon wrote: > > Previous comment cut off... here is what it was supposed to say > > > > > > > So, the last is pretty basic.... unsure why it is throwing the error > that > > > it is throwing. This is in the role/tasks/main.yml file > > import_playbook is only allowed in a playbook on top level, not in a role. > > -- > Kai Stian Olstad > -- 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 firstname.lastname@example.org. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4c4570c6-54bf-4603-9185-433160e6fdfe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.