I was also at Ansiblefest, and I believe someone mentioned the assert module as a method of testing. Personally, I wasn't put off by using serverspec and I'm going to give that a try.
On Friday, May 23, 2014 9:43:24 AM UTC-4, Guy Matz wrote: > > Dear Ansible (Michael deHaan?), > Hello! I've searched the google & the mailing list for playbook testing > strategies and haven't found anything that looks a consensus on how this > should be done. Perhaps there are some projects, e.g. ansible-spec or > ansible-cucumber, in the pipeline, but until then, is there a "best > practice" for ansible testing? > > At the NYC ansible-fest the other day there was a talk about testing, but > the method discussed involved using servermaint, which is ruby and seems to > irritate python people . . . the moderator of the fest (Adm. deHaan) said > to instead use the scripts & fail modules - at least I think that's what > was said - but I haven't been able to find anything about them pertaining > to testing. Does anyone have a doc about this? An example? > > Thanks a lot!!! > Guy > -- 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/2a1b2911-dcd9-491a-a929-a5e930766b3e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
