Commit graph

2911 commits

Author SHA1 Message Date
Marco Vito Moscaritolo
ee679c0190 Unified document generator and make to generate JSON and JS files 2012-10-10 18:41:50 -04:00
Michael DeHaan
85fb83a5db Merge pull request #1282 from dagwieers/mail-callback
Example plugin to send out mails on error
2012-10-10 15:37:59 -07:00
Serge van Ginderachter
da92ce796b fix missing --limit in docssite examples 2012-10-10 19:38:30 +02:00
Michael DeHaan
ae94b050af Merge pull request #1283 from jhoekx/fix-inventory-api-groups
Fix inventory API groups
2012-10-10 09:51:36 -07:00
Jeroen Hoekx
23a62f5a78 Return multiple groups from inventory API. 2012-10-10 18:35:45 +02:00
Jeroen Hoekx
30c019447b Fix typo in inventory API test script. 2012-10-10 18:17:24 +02:00
Dag Wieers
bb58d3f20c Example plugin to send out mails on error
This is useful mostly for playbooks that run unattended and for a limited set of systems. In case of provisioninging this plugin (together with a final mail action) helps to get notified when something went wrong, or when the installation finished successfully.

Unfortunately, there is no way to enable/disable a plugin from a playbook. So installing the plugin means all other use-cases (provisioning, troubleshooting, reporting or management) all send mails on failure. Something we may want to fix in the future...
2012-10-10 17:28:00 +02:00
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
2012-10-10 05:34:22 -07:00
Michael DeHaan
d855b4bcf6 Merge pull request #1270 from jhoekx/yaml-inventory-plugin
Add a yaml format inventory plugin.
2012-10-10 05:33:33 -07:00
Michael DeHaan
8ae9125ff2 Merge pull request #1271 from mavimo/openstack-rackspace-update
Openstack rackspace update
2012-10-10 05:33:17 -07:00
Michael DeHaan
822cb74aed Merge pull request #1274 from dagwieers/contrib-network-facts
Module network_facts to gather facts based on network information
2012-10-10 05:33:00 -07:00
Michael DeHaan
f1dfddc5e5 Fix typo in autogenerated docs 2012-10-10 08:32:41 -04:00
Michael DeHaan
bbf95abc8f Merge pull request #1276 from mxxcon/patch-1
Typo in example section for 'setup' module docs.
2012-10-10 05:31:22 -07:00
Michael DeHaan
d5bb7258c8 Working on makefile 2012-10-10 08:03:52 -04:00
mxxcon
6b5f19a796 Typo in example section for 'setup' module. 2012-10-09 20:41:26 -03:00
Dag Wieers
0ebc46628a Module vsphere_boot to boot VMWare virtual machine using specific media 2012-10-10 00:29:59 +02:00
Dag Wieers
e8b0b07311 Module network_facts to gather facts based on network information 2012-10-10 00:20:50 +02:00
Marco Vito Moscaritolo
cdb8343ec6 Added documentation for nova inventory system 2012-10-09 21:44:39 +02:00
Marco Vito Moscaritolo
7fed89b51d Improved RackSpace configuration support (needed by latest version of rackspace API) 2012-10-09 21:43:58 +02:00
Jeroen Hoekx
2290dfe1ef Add a yaml format inventory plugin.
This fixes #1265.
2012-10-09 19:56:52 +02:00
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).
2012-10-09 19:36:23 +02:00
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.
2012-10-09 19:31:31 +02:00
Michael DeHaan
de912381ac Update CHANGELOG.md 2012-10-09 10:38:48 -03:00
Michael DeHaan
06688efb24 Merge pull request #1263 from dagwieers/hpilo_facts-fix
Sigh, another retypo
2012-10-09 05:22:49 -07:00
Michael DeHaan
49fc8c7634 Merge pull request #1264 from dagwieers/doc-fixes
Fixes to documentation
2012-10-09 05:22:26 -07:00
Dag Wieers
98624cb394 Fixes to documentation 2012-10-09 12:42:10 +02:00
Dag Wieers
3f149e09bc Sigh, another retypo problem 2012-10-09 12:30:00 +02:00
Dag Wieers
2dcd0846ab Use getopt instead of argparse
On RHEL5 and RHEL6 there is not argparse, and 'make rpm' fails because of this.
With this change it works, and I can test and fix my own documentation...
2012-10-09 12:23:30 +02:00
Aurélien Bondis
e07bfd9ef8 playbook/tasks: allow to use a module's name instead of action: 2012-10-09 00:21:13 -04:00
Michael DeHaan
4bd17ee518 Fix up changelog 2012-10-08 19:24:20 -04:00
Michael DeHaan
dcee25c6db Update gitignore 2012-10-08 19:21:50 -04:00
Michael DeHaan
3d66ca59f9 Update changelog 2012-10-08 19:20:55 -04:00
Michael DeHaan
04954dbc1e Makes ports configurable for fireball. Note port defaults really belong in the connection plugins, not runner, which can be refactored later. 2012-10-08 19:03:37 -04:00
Michael DeHaan
612561ad0e Merge pull request #1250 from dagwieers/hpilo_boot-fixes
Various small fixes to boolean usage and defaults
2012-10-08 14:27:20 -07:00
Michael DeHaan
62a56a219b Merge pull request #1243 from dsummersl/squash2-cron
cron feature (w/o tests)
2012-10-08 14:25:55 -07:00
Michael DeHaan
013aa2533a Merge pull request #1256 from tbielawa/keep_man3_dir
Keep the man3 directory. 'make docs' breaks without it.
2012-10-08 14:25:35 -07:00
Michael DeHaan
1b36446ab3 Merge pull request #1255 from dagwieers/module-namespace
Add this module's namespace to the 'module_' namespace.
2012-10-08 14:25:20 -07:00
Michael DeHaan
5a16a270fc Merge pull request #1257 from tbielawa/service_typo
Fix typo in service module docs
2012-10-08 14:21:41 -07:00
Michael DeHaan
136a7d5604 Merge pull request #1260 from jhoekx/inventory-in-hostvars
Add inventory variables for hosts not in the play to hostvars.
2012-10-08 14:19:33 -07:00
Jeroen Hoekx
46a4ae74a7 Add inventory variables to hostvars.
Look up only when requested and cache the result.
2012-10-08 20:26:58 +02:00
Tim Bielawa
1e35ac7603 Fix typo in service module docs 2012-10-08 12:46:16 -04:00
Tim Bielawa
9541b47b52 Keep the man3 directory. 'make docs' breaks without it. 2012-10-08 12:28:20 -04:00
Dane Summers
c3a6e8dfd6 added new documentation string to cron library 2012-10-08 11:10:40 -04:00
Dag Wieers
b39aed8736 Add this module's namespace to the 'module_' namespace.
Much like we currently have *setup* register the variable `module_setup`, we would like other facts-modules register their own namespace. This means that:

 - *network_facts* registers `module_network`
 - *hpilo_facts* registers `module_hw`
 - *vsphere_facts* registers `module_hw`

In retrospect, it would have made more sense to have `setup` register `module_ansible` instead as the setup module uses the `ansible_` namesepace.

Having the `module_` namespace allows us to check whether a certain namespace has already been loaded so we can avoid running the facts module a second time using only_if.

```yaml
 - action: network_facts host=${ansible_hostname_short}
   only_if: is_unset('$module_network')
```
2012-10-08 15:13:17 +02:00
Dag Wieers
5503cfaa44 Various small fixes to boolean usage, using module.params.get and default values 2012-10-08 15:07:02 +02:00
Michael DeHaan
f32778aa93 Update links to contrib 2012-10-08 08:23:11 -04:00
Michael DeHaan
5c09fd4210 update links to plugins 2012-10-08 08:22:05 -04:00
Michael DeHaan
343e07a31a chapter 3 manpage source does not belong in git because it includes datestamps that constantly change. Willing to re-add if datestamps
are removable.
2012-10-08 08:10:37 -04:00
Michael DeHaan
4a95194424 Docs rebuild in new project structure. 2012-10-08 08:09:27 -04:00
Michael DeHaan
dd727ecebf Update README 2012-10-08 08:06:48 -04:00