Commit Graph

635 Commits (184523ecac4020c0ce27bff6df4772fb4e10b6e9)

Author SHA1 Message Date
Michael DeHaan e170d7304b Added documentation on file force parameter 12 years ago
Michael DeHaan 046c6c66f2 various small doc tweaks 12 years ago
Michael DeHaan f67aa85c3f Fixing various module related things. 12 years ago
Michael DeHaan 85a31616de Call os.path.expanduser in the creates= and removes= section of the command module so ~/ and the like works. 12 years ago
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
Petetin Ludovic 17423c9268 Fix issue https://github.com/ansible/ansible/issues/1194 12 years ago
Michael DeHaan 6616fba1ab Merge pull request #1189 from jpmens/nagpause
standardize DOCUMENTATION for nagios, pause
12 years ago
Jan-Piet Mens a1f192976f attempt at DOCUMENTATION for async_status 12 years ago
Jan-Piet Mens 83029755f7 standardize DOCUMENTATION for nagios, pause 12 years ago
Michael DeHaan f897f19fc5 Teach fireball mode to disable the fireball by paying attention to 'minutes=N' (default 30) and do not let fireball module crash
on input.
12 years ago
Michael DeHaan 2165351f2c Merge pull request #1185 from tbielawa/pause_docs
Add DOCUMENTATION to pause task
12 years ago
Tim Bielawa ca87fa56d8 Add DOCUMENTATION to pause task 12 years ago
Tim Bielawa f3d9f8da7b Add DOCUMENTATION to nagios module. 12 years ago
Michael DeHaan 886a17853f Merge pull request #1176 from jpmens/fireball-doc1
fireball DOCUMENTATION
12 years ago
Jan-Piet Mens f2dc815e3f fireball DOCUMENTATION
- amended
12 years ago
Michael DeHaan 6600f7b7ac Merge pull request #1170 from jpmens/docspatch01
Jumbo DOCUMENTATION patch
12 years ago
Michael DeHaan ac3ec0a410 Merge pull request #1173 from dhozac/command-quote-less
Use a regexp to filter out arguments instead
12 years ago
Jan-Piet Mens a72a6e42c5 Added attribution to all module DOCUMENTATION strings 12 years ago
Daniel Hokka Zakrisson 6477bdc6fc Use a regexp to filter out arguments instead
pipes.quote is a bit overzealous for what we want to do, quoting ;
and other characters that you most likely want to use in your shell
invocations. The regexp is the best I could come up with to be able
to only replace the parts of the arguments that shouldn't be
executed.
12 years ago
Jan-Piet Mens e620fed755 Jumbo DOCUMENTATION patch 12 years ago
Michael DeHaan 190e4c26d1 Merge pull request #1167 from jpmens/slurp01
module docs for slurp
12 years ago
Jan-Piet Mens 8b737c959d module docs for slurp 12 years ago
Michael DeHaan a00d6d7234 Merge pull request #1166 from mavimo/documentation-seboolean
Added DOCUMENTATION to seboolean module.
12 years ago
Marco Vito Moscaritolo f9bdf07387 Added DOCUMENTATION to seboolean module. 12 years ago
Michael DeHaan f8060d109e Merge pull request #1165 from mavimo/documentation-selinux
Added DOCUMENTATION to selinux module.
12 years ago
Michael DeHaan 349af83c91 Merge pull request #1164 from jpmens/modformatter
module_formatter now also uses Jinja2 trim_blocks
12 years ago
Marco Vito Moscaritolo 7491054ed6 Added DOCUMENTATION to selinux module. 12 years ago
Jan-Piet Mens e4338d0ca3 module_formatter now also uses Jinja2 trim_blocks
- Updated man template accordingly
- seem to have left in illegal char in facter DOCUMENTATION...
12 years ago
Jan-Piet Mens 8a4df98f69 template DOCUMENTATION added to fireball 12 years ago
Jan-Piet Mens 28698d5fcf Attribute author of virt correctly (sorry) 12 years ago
Michael DeHaan b8a2a526fc Merge pull request #1156 from jpmens/m-docs5
DOCUMENTATION for virt
12 years ago
Michael DeHaan 39c4a4f8a7 Merge pull request #1155 from jpmens/m-docs4
DOCUMENTATION for fetch,mount,ohai,easy_install; .rst template tweaks
12 years ago
Michael DeHaan bf6e783d7a Merge pull request #1152 from sfromm/moduledocs
Add module documentation for git, group, service, and user
12 years ago
Jan-Piet Mens 7a3b2ac287 DOCUMENTATION for virt 12 years ago
Jan-Piet Mens 754888d896 DOCUMENTATION for fetch,mount,ohai,easy_install
- .rst now supresses default if none is set (looks better in HTML)
  - .rst now handles empty options list
  - Fixed postgresql_user and mysql_user because YAML contained colons
  - docs for facter
12 years ago
Stephen Fromm ed07940386 Add LSB facts, as derived from lsb_release -a
This gathers LSB facts via lsb_release.  This complements the
platform facts collected via the platform module.  This reoprts
release, id, description, release, and codename.  It also adds
'major_release', which is the major version number of a distribution.
12 years ago
Stephen Fromm be19e21126 Add module documentation for git, group, service, and user 12 years ago
Michael DeHaan 13e8ef5f35 Merge pull request #1146 from dhozac/command-escape-args
Properly parse escaped special arguments
12 years ago
Michael DeHaan e744e864d9 Merge pull request #1140 from mavimo/devel
Refs #1116: DOCUMENTATION string update
12 years ago
Michael DeHaan 78911f1b26 Merge pull request #1145 from mavimo/documentation-supervisorctl
Added DOCUMENTATION to supervisorctl module.
12 years ago
Michael DeHaan 4823371aff Merge pull request #1144 from mavimo/documentation-pip
Added DOCUMENTATION to pip module.
12 years ago
Daniel Hokka Zakrisson 9261d3962b Properly parse escaped special arguments
Fixes issue #1134
12 years ago
Marco Vito Moscaritolo d80ec35183 Fixed error in author name 12 years ago
Marco Vito Moscaritolo 95d7b4c5db Added DOCUMENTATION to supervisorctl module. 12 years ago
Marco Vito Moscaritolo ac5afcae28 Added DOCUMENTATION to pip module. 12 years ago
Marco Vito Moscaritolo b1d88235f0 Added DOCUMENTATION to shell module. 12 years ago
Marco Vito Moscaritolo e1c83b0367 Fixed error on official docs (reported on DOCUMENTATION string). Name param must be pkg and is required. 12 years ago
Marco Vito Moscaritolo e30e9a74c2 Added DOCUMENTATION to postgresql_user module. 12 years ago
Marco Vito Moscaritolo a4620920b2 Added DOCUMENTATION to postgresql_db module. 12 years ago
Marco Vito Moscaritolo 6184a0a313 Fixed doc string 12 years ago