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
2012-10-12 19:38:59 +02:00
Aurélien Bondis
6d183959ba
#1303 : add sudo option to tasks
2012-10-12 12:39:45 -04:00
Aurélien Bondis
2063e10c00
named actions + modules list in utils.py
2012-10-12 11:28:10 -04:00
Stephen Fromm
60d3e9f3de
Add --purge option to ansible-pull
...
Removes git checkout after playbook run.
2012-10-12 07:55:22 -07:00
Stephen Fromm
034e8f59ed
Clean up auto-selection of playbook and miscellaneous changes
...
Direct any ansible-pull specific messages to stderr.
Introduce try_playbook() and select_playbook() to remove try/except-y.
2012-10-12 07:55:22 -07:00
Matthew Johnson
0841ed4796
change method of obtaining hostname to match ansible/library/setup
2012-10-12 07:55:22 -07:00
Matthew Johnson
2b24131baa
fetch the git repo before trying to find a playbook
2012-10-12 07:55:22 -07:00
Stephen Fromm
788e11f1db
Merge commits from copperlight's branch ansible-pull_playbook_parameter branch
...
Merged commits: 3cd25b5 and ed9fc76. Some massaging of changes applied.
2012-10-12 07:55:22 -07: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