No description
Find a file
Dag Wieers 1d27909ec0 Added a fail module in order to fail execution on certain conditions
In some cases you may want to deliberately fail the execution of a playbook. In our provisioning workflow we want to have safeguards in place to avoid provisioning systems that are already in production. Since we reboot physical and virtual systems, it is mandatory we take all the precautions to prevent accidental provisioning.

So in our use-case we have the following at the very start of the provisioning playbook:

    ### Safeguard to protect production systems
    - local_action: fail msg="System is not ready to be staged according to CMDB"
      only_if: "'$cmdb_status' != 'to-be-staged'"

and we repeat the same task in the (separate included) play that takes care of (re)booting the system using our own boot-media, so that it cannot be accidentally separately run by someone.
2012-10-02 21:40:28 +02:00
bin If all hosts in a play fail, fail the whole playbook and don't bother printing out every remaining task. 2012-09-30 21:06:00 -04:00
docs/man Complain when modules do not have documentation. 2012-09-30 21:10:07 -04:00
examples Simplify register example 2012-09-29 08:10:45 -04:00
hacking Complain when modules do not have documentation. 2012-09-30 21:10:07 -04:00
lib/ansible Only gather facts once per node per playbook run 2012-10-02 15:30:19 +02:00
library Added a fail module in order to fail execution on certain conditions 2012-10-02 21:40:28 +02:00
packaging distribution packaging should install all manpages 2012-09-21 11:15:40 -06:00
test Allow non-string types in with_items variables 2012-10-01 17:07:51 +02:00
.gitignore Ignoring PyCharm/IntelliJ and Mac OS X stuff 2012-09-30 11:08:41 +02:00
CHANGELOG.md organize changelog 2012-09-30 21:33:38 -04:00
CONTRIBUTING.md update contributing file 2012-09-17 22:55:06 -04:00
COPYING license file should be in source tree 2012-03-15 20:24:22 -04:00
Makefile Make use of UTC dates for RPM timestamp 2012-10-02 14:29:57 +02:00
MANIFEST.in Add some docs/examples 2012-08-14 13:05:44 -04:00
README.md Update website link 2012-09-24 21:56:37 -04:00
RELEASES.txt Release version bump 2012-09-06 18:56:38 -04:00
setup.py Add package to setup.py 2012-09-07 21:03:59 -04:00
VERSION Release version bump 2012-09-06 18:56:38 -04:00

Ansible

Ansible is a radically simple configuration-management, deployment, task-execution, and multinode orchestration framework.

Read the documentation and more at http://ansible.cc

Design Principles

  • Dead simple setup
  • Super fast & parallel by default
  • No server or client daemons; use existing SSHd
  • No additional software required on client boxes
  • Modules can be written in ANY language
  • Awesome API for creating very powerful distributed scripts
  • Be usable as non-root
  • The easiest config management system to use, ever.

Get Involved

Branch Info

  • Releases are named after Van Halen songs.
  • The devel branch corresponds to the release actively under development.
  • Various release-X.Y branches exist for previous releases
  • We'd love to have your contributions, read "CONTRIBUTING.md" for process notes.

Author

Michael DeHaan -- michael.dehaan@gmail.com

http://michaeldehaan.net