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.
2012-10-12 19:49:30 +02:00
Michael DeHaan
dfaef8061a
Merge pull request #1289 from abondis/mysql_migration
...
mysql_db: connection test, dump/import state
2012-10-11 17:39:13 -07:00
Michael DeHaan
a18e9d64c7
Merge pull request #1297 from sergevanginderachter/devel
...
updated gitignore for docssite stuff
2012-10-11 17:31:39 -07:00
Michael DeHaan
34acc95435
Merge pull request #1296 from sergevanginderachter/da92ce796b48ec80e3ead1cfe9bcbc71f5fce805
...
fix missing --limit in docssite examples
2012-10-11 17:30:55 -07:00
Michael DeHaan
69ad124bd2
Merge pull request #1298 from dagwieers/doc-optparse
...
Moving now from getopt to optparse
2012-10-11 17:30:33 -07:00
Michael DeHaan
5849ab3162
Merge pull request #1300 from tbielawa/fix_module_path
...
Add DIST_MODULE_PATH so setup.py and ansible.spec can live in harmony
2012-10-11 17:30:23 -07:00
Michael DeHaan
89f8562df9
Merge pull request #1304 from dhozac/vars_files-process-whole-list
...
Keep processing the rest of the vars_files even if one has vars
2012-10-11 14:56:41 -07:00
Daniel Hokka Zakrisson
b8b34b5110
Keep processing the rest of the vars_files even if one has vars
2012-10-11 23:52:01 +02:00
Tim Bielawa
baa91ebc95
Add DIST_MODULE_PATH so setup.py and ansible.spec can live in harmony. Closes #1277
2012-10-11 13:22:30 -04:00
Dag Wieers
2786149bdc
Moving now from getopt to optparse
...
Let me know if we can move to another library instead ;-)
2012-10-11 18:14:38 +02:00
Serge van Ginderachter
d5837aab23
Add some docssite and deb package related stuff to gitignore.
2012-10-11 18:13:08 +02:00
Michael DeHaan
f3d7294690
Test for directory existance, fix exception catching granularity
2012-10-11 07:56:01 -04:00
Michael DeHaan
448c89a06d
It has been reported that occasionally the md5sum command on certain platforms (?) can fail, where I suspect there is noise in the output stream.
...
In those events, capture the output so we can report the error more properly.
2012-10-11 07:44:41 -04:00
Michael DeHaan
d6b3f40cb7
Merge pull request #1290 from dagwieers/mail-doc-fix
...
Damn you, colons...
2012-10-11 04:20:05 -07:00
Dag Wieers
dfdf4ab8eb
Damn you, colons...
2012-10-11 09:26:21 +02:00
Aurélien Bondis
1a51af0e38
mysql_db: use the database to test connexion, added dump and import state - requires target=path/to/a/file
2012-10-10 23:28:42 -04:00
Michael DeHaan
6d2f003ceb
Update formatter to not include orange blocks all over docsite page
2012-10-10 21:25:19 -04:00
Michael DeHaan
7e542d78a7
Merge remote branch 'stijnopheide/jinja-relative' into devel
...
Conflicts:
.gitignore
2012-10-10 20:24:12 -04:00
Michael DeHaan
062484b9bd
Put generated manpages back in correct directory
2012-10-10 20:09:40 -04:00
Michael DeHaan
e74b9e1d34
Add .gitdir
2012-10-10 20:00:15 -04:00
Michael DeHaan
b505a3796c
Fix docsite example
2012-10-10 19:56:53 -04:00
Michael DeHaan
e2497f0cff
Merge remote branch 'abondis/named_actions_2' into devel
2012-10-10 19:53:19 -04:00
Michael DeHaan
79069827c2
add presentation
2012-10-10 19:50:47 -04:00
Michael DeHaan
6b0ef9fd26
Merge remote branch 'dagwieers/contrib-vsphere-boot' into devel
...
Conflicts:
contrib/README.md
2012-10-10 19:50:04 -04:00
Michael DeHaan
a873e1a467
Don't check in any module RST files as these are generated too.
2012-10-10 19:48:40 -04:00
Michael DeHaan
e593c828b4
Merge remote branch 'dagwieers/module-mail' into devel
2012-10-10 19:46:38 -04:00
Michael DeHaan
110244d7b4
Merge branch 'remove-argparse' of git://github.com/dagwieers/ansible into devel
...
Conflicts:
hacking/module_formatter.py
Don't run webdocs build when building packages
2012-10-10 18:46:51 -04:00
Michael DeHaan
8ae9831439
Don't check in docsite static HTML, so folks will know to just edit the RST.
2012-10-10 18:41:50 -04:00
Michael DeHaan
dbeb26ad6d
Don't check in modules.js either
2012-10-10 18:41:50 -04:00
Michael DeHaan
fc9a6bb07c
Docs/json should not be checked in
2012-10-10 18:41:50 -04:00
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