Framework/module to test Ansible code

18 views
Skip to first unread message

Rajat Govind Chandak

unread,
Feb 18, 2016, 3:53:36 AM2/18/16
to Ansible Project
Hey all,

I am working with Ansible to spinup and provision intsances on AWS EC2. Is there any framework or module to test my ansible code, so that I can ensure that it is working properly as desired ?

Thanks 

Benjamin Redling

unread,
Feb 18, 2016, 4:56:19 AM2/18/16
to ansible...@googlegroups.com
Are you asking how you can avoid the following?
--check, a test + staging setup, monitoring, writing (ansible) tasks
that test for certain state, write/install/autodiscover a check in your
monitoring solution of choice, log file analysis.

Do you want to disrupt the Ops job market or are you searching for a
specific aspect of testing?

For everything hidden _behind_ ansible's YAML files:
http://docs.ansible.com/ansible/developing_modules.html#building-testing
http://docs.ansible.com/ansible/developing_test_pr.html

Benjamin
--
FSU Jena | JULIELab.de/Staff/Benjamin+Redling.html
vox: +49 3641 9 44323 | fax: +49 3641 9 44321
Reply all
Reply to author
Forward
0 new messages