Tim Bielawa
4b04d7a914
Add DOCUMENTATION for module documentation.
2012-10-12 17:22:55 -04:00
Michael DeHaan
0028a9d651
Merge pull request #1309 from abondis/tasks_sudo_option
...
#1303 : add sudo option to tasks
2012-10-12 14:21:32 -07:00
Jeroen Hoekx
25e415c031
Add virt_boot module to define libvirt boot parameters.
2012-10-12 22:40:04 +02:00
Dane Summers
7399224428
fixed cron library so backups are python2.4 compatible
2012-10-12 16:34:34 -04:00
Aurélien Bondis
1f91a70310
fix issue with mysql authentication and states not dump or import
2012-10-12 16:26:59 -04:00
Dag Wieers
de34c7c133
This should set the sender properly.
2012-10-12 20:40:06 +02:00
Ashley Penney
f4484f800b
Further cleanup to add another rc check and remove a now redundent one.
2012-10-12 18:26:40 +00:00
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.
2012-10-12 18:16:37 +00:00
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
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
2012-10-12 19:46:20 +02:00
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