As a quick follow-up on this, I since tried rolling back to stable-1.9 and also the 1.9.3 tag as well, and interestingly neither of those would execute past a specific point in my base.yaml playbook. When it reaches the specific task, ansible hangs...if I comment out this task and re-run, it then gets to the next task in the order but hangs on that one.
So, the plot thickens. In any case, this is really causing problems for me as I have to run all my playbooks individually, and I might have to look at breaking my base.yml up into different playbooks as it now doesn't complete. On Thu, Oct 29, 2015 at 3:13 PM, Guy Knights <[email protected]> wrote: > Here's the content of my parent playbook: > > --- > # file: playbooks/site.yml > - include: base.yml > - include: monitoring.yml > - include: loadbalancer.yml > - include: appserver.yml > - include: clientserver.yml > - include: gitlab.yml > - include: ci.yml > - include: useractivity.yml > - include: job.yml > - include: vpn.yml > - include: registry.yml > - include: logging.yml > - include: mgmtserver.yml > > v2.0 of ansible-playbook completes only the tasks in base.yml and then > completes as I already described. Interestingly, it *has* run through the > stuff in monitoring.yml when I've tried it before, but it doesn't seem to > do it any more. With v1.9.3 of ansible-playbook, it used to run through all > the of the above before completing. > > On Wed, Oct 28, 2015 at 4:32 PM, Michael Legleux <[email protected]> > wrote: > >> I'm glad you joined in, I never resolved this or got back around to this >> problem. >> I couldn't get any useful info about what was causing it either. I made a >> few super simple examples, but of course they ran fine. >> Part of my experiment involved running each include individually, which >> worked so I was stymied. >> >> On Monday, October 26, 2015 at 4:26:23 PM UTC-7, Guy Knights wrote: >>> >>> I don't mean to hijack this thread, but I thought I should mention I'm >>> having exactly the same problem. Worked in Ansible 1.9.3, in 2.0.0 it runs >>> through all the tasks/roles in the first couple of includes and then stops >>> (with a play recap), all without any errors. >>> >>> On Thursday, September 3, 2015 at 1:21:53 PM UTC-7, Michael Legleux >>> wrote: >>>> >>>> The output shows no errors, nothing seems wrong. >>>> >>>> Running this playbook in devel, after qt5.yml is run, execution stops. >>>> If I reverse the order, it only runs wx_widgets.yml. >>>> Running this playbook in v1.9.3-0.3.rc3 results with both included >>>> playbooks being executed properly. >>>> >>>> I simulated the execution order with 2 simpler playbooks (simply >>>> touching files on the desktop) and they both get executed properly in >>>> devel. >>>> >>>> So maybe it's something with the modules I'm using in wx_widgets.yml or >>>> qt5.yml but they don't have any obvious errors, and whichever one is run >>>> first DOES get installed properly with no errors. >>>> The only modules the playbooks use are: >>>> apt_repository, apt_key and apt. >>>> >>>> I thought maybe I was including things incorrectly, but then testing it >>>> in 1.9.3 showed it worked they way I was trying to nest includes. So I'm >>>> confused. >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Wednesday, September 2, 2015 at 10:30:46 PM UTC-7, Bob Tanner wrote: >>>>> >>>>> >>>>> On Wednesday, September 2, 2015 at 4:08:30 PM UTC-5, Michael Legleux >>>>> wrote: >>>>>> >>>>>> This configuration works fine with 1.9.2 though. >>>>>> >>>>>> >>>>> -vvvv output shows what? >>>>> >>>>> >>>> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Ansible Project" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/ansible-project/ixI71kGSNzw/unsubscribe >> . >> To unsubscribe from this group and all its topics, 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/1a26815c-1645-448b-84c4-1353ab5b906e%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/1a26815c-1645-448b-84c4-1353ab5b906e%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/CANNH9msW%2BKuGadgaW-xE5CcfNZwUNmXii55y6wXJe%3DuSQfSepQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
