Commit Graph

710 Commits (d58bc4da4e5b415c1fa2bc1f10a62f60c849a52a)

Author SHA1 Message Date
Michael DeHaan d58bc4da4e Merge pull request #1361 from lantins/devel
Copy module can replace symlink with a real file.
13 years ago
Michael DeHaan 05866bba1e Merge pull request #1372 from jpmens/rst_template1
module_formatter: .rst now correctly handles code examples
13 years ago
Jonathan Palley 702469f7bf symlink fix 13 years ago
Jan-Piet Mens 575459465e module_formatter: .rst now correctly handles code examples
- fixed template (it was the template), adding indentation with Jinja2
 - added description of code examples to man-page template (was missing)
 - fixed fireball, cron, and debug module examples to confrom
13 years ago
Luke Antins 0dbd3aa821 Add examples to user module documentation. 13 years ago
Luke Antins 4f17aa9fa0 Fix indent of fail module example to prevent unwanted `<blockquote></pre></p> <br/></blockquote>` from showing up in docsite output. 13 years ago
Luke Antins 7d41045b2f Erroneous space in facter documentation. 13 years ago
Luke Antins 6354898b09 Copy module can replace symlink with a real file. 13 years ago
Michael DeHaan 54257a6a4c Remove "the the" 13 years ago
Michael DeHaan edb7a054ae Merge pull request #1349 from bcoca/fix_bsd_dmesg_jails
fixed but in pulling data from dmesg command, wrong function to use as f...
13 years ago
Brian Coca 620aeeb572 fixed but in pulling data from dmesg command, wrong function to use as file for for loop
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
13 years ago
Michael DeHaan 5bb8dcea08 Fix help text 13 years ago
Michael DeHaan 6f14e35c36 Merge pull request #1335 from phgrau/devel
Use && for executing next command if, and only if, command1 returns an e...
13 years ago
Michael DeHaan 7583704144 "force=" code under the file module is problematic, remove it 13 years ago
Jan-Piet Mens e35d5188f9 typo 13 years ago
Philipp Grau 4290a904ff Add note: Debian Squeeze has no add-apt-repository 13 years ago
Maxim Burgerhout 2f6b9e69a7 Test for python-pip as well as pip
On Red Hat, CentOS and Fedora systems, the pip binary will be called python-pip
instead of pip. This commit makes the pip module also check for python-pip.

The reason we check for python-pip *first*, is to have ansible fail on not
finding 'pip' and reporting *that*. This is consistent with current behaviour
and will not confuse users of Debian et al., where the 'python-pip' binary
never exists.

Tested on Fedora 18 and Ubuntu 12.04.
13 years ago
Tim Bielawa 8831e59700 The pause 'prompt' parameter now requires quotes around the message. 13 years ago
Michael DeHaan 8dadf8a905 Use 'path' in file documentation, though src/dest work, it's less intuitive. 13 years ago
Michael DeHaan 2c90298841 Merge pull request #1314 from apenney/bugfix/git
Check rc instead of parsing for errors.
13 years ago
Michael DeHaan c5d2f6b0d3 implement lookup plugins for arbitrary enumeration over arbitrary things. See the mailing list for some cool examples. 13 years ago
Michael DeHaan 29d49d415f fix mentioning of redundant aliases in module docs, remove was removed anyway 13 years ago
Michael DeHaan 621708e976 user module should be using module.BOOLEANS for choices 13 years ago
Michael DeHaan aa98c84a62 HP and vsphere modules are crazy awesome but I am thinking these belong in contrib not core. 13 years ago
Brian Coca 6886683e16 small patch to fact gathering for when no dmesg.boot exists on freebsd, mainly happens in jails
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
13 years ago
Michael DeHaan 35163bce96 Merge pull request #1310 from dagwieers/hpilo_boot-cleanup
hpilo_boot: Various clean ups in documentation and code
13 years ago
Michael DeHaan b1ccda00f8 Merge pull request #1311 from dagwieers/hpilo_facts-cleanup
hpilo_facts: Various clean ups in documentation and code
13 years ago
Michael DeHaan 1487b6a1bb Merge pull request #1313 from dagwieers/vsphere_facts-cleanup
vsphere_facts: Various cleanups in documentation
13 years ago
Michael DeHaan a82522a5c4 Merge pull request #1317 from abondis/fix_mysql_db
fix issue with mysql authentication and states not dump or import
13 years ago
Michael DeHaan 20a7227056 Merge pull request #1318 from dsummersl/cron24
fixed cron library so backups are python2.4 compatible
13 years ago
Jeroen Hoekx 25e415c031 Add virt_boot module to define libvirt boot parameters. 13 years ago
Dane Summers 7399224428 fixed cron library so backups are python2.4 compatible 13 years ago
Aurélien Bondis 1f91a70310 fix issue with mysql authentication and states not dump or import 13 years ago
Ashley Penney f4484f800b Further cleanup to add another rc check and remove a now redundent one. 13 years ago
Ashley Penney 6042419624 Check rc instead of parsing for errors. This now catches the case where the remote branch has been deleted and you're still trying to pull against it. 13 years ago
Dag Wieers 5927373c26 Various clean ups in documentation and code
This commit improves the following items:
 - Remove the 'match' functionality, this can now be achieve by using the `fail` module together with `only_if` after running the `hpilo_facts` module. Since this gives more functionality, e.g. comparing server names, but also serial numbers or uuids with other inventory information, this is prefered. An example is added to show how this is achieved.
 - Clean up all C() calls in documentation
 - Added state=poweroff in order to power off a server. The use-case is here that in general we do not want to provision systems that are already running (this enforcement can be disabled using force=yes) but for test systems we should be able to power them off so we can start the normal provisioning process. (We could also force boot them, but that's less elegant)
 - The module now correctly indicates when something has changed. So if a server is powered off that was not off already, this is indicated, or when media boot-settings have been changed, this is also correctly indicated. Previously every call to hpilo_boot was (incorrectly) considered a change.
13 years ago
Dag Wieers 5fe8205d36 vsphere_facts: Various cleanups in documentation
This commit improves the following items:
 - Clean up all C() calls in documentation
 - Reindent the documentation
13 years ago
Dag Wieers 5612cce4a4 hpilo_facts: Various clean ups in documentation and code
This commit improves the following items:
 - Remove the 'match' functionality, this can now be achieve by using the `fail` module together with `only_if` after running the `hpilo_facts` module. Since this gives more functionality, e.g. comparing server names, but also serial numbers or uuids with other inventory information **and** a proper message, this is prefered. An example is added to show how this is achieved.
 - Clean up all C() calls in documentation
 - Remove trailing spaces in HP iLO's Serial Number output so that they can be compared to CMDB or other inventory information
13 years ago
Michael DeHaan dfaef8061a Merge pull request #1289 from abondis/mysql_migration
mysql_db: connection test, dump/import state
13 years ago
Dag Wieers dfdf4ab8eb Damn you, colons... 13 years ago
Aurélien Bondis 1a51af0e38 mysql_db: use the database to test connexion, added dump and import state - requires target=path/to/a/file 13 years ago
Michael DeHaan e74b9e1d34 Add .gitdir 13 years ago
Michael DeHaan e593c828b4 Merge remote branch 'dagwieers/module-mail' into devel 13 years ago
Michael DeHaan 7788dea238 Merge pull request #1268 from dagwieers/hpilo-reboot-fix
Workaround for when HP iLO is in a state it won't accept requests
13 years ago
Michael DeHaan f1dfddc5e5 Fix typo in autogenerated docs 13 years ago
Dag Wieers 2f74cd84bd Module mail to send out emails as an action
Sending mails could be part of the workflow to have teams/responsibles perform specific task. Or simply to notify that a process has finished successfully (e.g. provisioning).
13 years ago
Dag Wieers 790ed81b14 Workaround for when HP iLO is in a state it won't accept requests
This workaround is recommended from HP iLO's documentation, but may not be sufficient in all cases. Time will tell.

I also made a few cosmetic changes with no impact.
13 years ago
Michael DeHaan 06688efb24 Merge pull request #1263 from dagwieers/hpilo_facts-fix
Sigh, another retypo
13 years ago
Dag Wieers 98624cb394 Fixes to documentation 13 years ago
Dag Wieers 3f149e09bc Sigh, another retypo problem 13 years ago