You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/library
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.
12 years ago
..
apt Jumbo DOCUMENTATION patch 12 years ago
apt_repository Jumbo DOCUMENTATION patch 12 years ago
assemble
async_status attempt at DOCUMENTATION for async_status 12 years ago
async_wrapper
authorized_key Jumbo DOCUMENTATION patch 12 years ago
command Merge pull request #1170 from jpmens/docspatch01 12 years ago
copy
easy_install Jumbo DOCUMENTATION patch 12 years ago
facter Jumbo DOCUMENTATION patch 12 years ago
fail Added a fail module in order to fail execution on certain conditions 12 years ago
fetch DOCUMENTATION for fetch,mount,ohai,easy_install 12 years ago
file Added attribution to all module DOCUMENTATION strings 12 years ago
fireball Teach fireball mode to disable the fireball by paying attention to 'minutes=N' (default 30) and do not let fireball module crash 12 years ago
get_url Added attribution to all module DOCUMENTATION strings 12 years ago
git
group
ini_file
lineinfile Merge pull request #1170 from jpmens/docspatch01 12 years ago
mount DOCUMENTATION for fetch,mount,ohai,easy_install 12 years ago
mysql_db Jumbo DOCUMENTATION patch 12 years ago
mysql_user Jumbo DOCUMENTATION patch 12 years ago
nagios Fix issue https://github.com/ansible/ansible/issues/1194 12 years ago
ohai Jumbo DOCUMENTATION patch 12 years ago
pause standardize DOCUMENTATION for nagios, pause 12 years ago
ping Jumbo DOCUMENTATION patch 12 years ago
pip Jumbo DOCUMENTATION patch 12 years ago
postgresql_db Jumbo DOCUMENTATION patch 12 years ago
postgresql_user DOCUMENTATION for fetch,mount,ohai,easy_install 12 years ago
raw Added attribution to all module DOCUMENTATION strings 12 years ago
seboolean Added DOCUMENTATION to seboolean module. 12 years ago
selinux Added DOCUMENTATION to selinux module. 12 years ago
service Jumbo DOCUMENTATION patch 12 years ago
setup Added attribution to all module DOCUMENTATION strings 12 years ago
shell Jumbo DOCUMENTATION patch 12 years ago
slurp module docs for slurp 12 years ago
subversion
supervisorctl
template Jumbo DOCUMENTATION patch 12 years ago
user Jumbo DOCUMENTATION patch 12 years ago
virt Attribute author of virt correctly (sorry) 12 years ago
wait_for
yum