Stephen Fromm
60f06c36b3
Miscellaneous fixes to module_formatter.py
...
Try to autodetect MODULEDIR, instead of hardcoded path in jpmens
homedir.
Check if MODULEDIR exists; exit if it doesn't.
Rewrite boilerplate() to use DOCUMENTATION.yaml in examples/. This
makes use of tbielawa's recent change that added this example file.
This also fixes -G so that it works. boilerplate() was commented out
before.
2012-10-12 16:27:01 -07:00
Michael DeHaan
29d49d415f
fix mentioning of redundant aliases in module docs, remove was removed anyway
2012-10-12 18:14:09 -04:00
Michael DeHaan
7644dbe330
Update some examples to explain why notify is not used
2012-10-12 18:12:22 -04:00
Michael DeHaan
621708e976
user module should be using module.BOOLEANS for choices
2012-10-12 18:06:36 -04:00
Michael DeHaan
aa98c84a62
HP and vsphere modules are crazy awesome but I am thinking these belong in contrib not core.
2012-10-12 17:49:48 -04:00
Michael DeHaan
85d6af637a
update changelog
2012-10-12 17:38:31 -04:00
Michael DeHaan
70ed560fb3
Add FILES to manpage
2012-10-12 17:37:30 -04:00
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>
2012-10-12 17:37:30 -04:00
Michael DeHaan
291648ccd9
Fix documentation consistency in .gitignore
2012-10-12 17:37:30 -04:00
Michael DeHaan
579b80ab8f
Fix redundancy in .gitignore file
2012-10-12 17:37:30 -04:00
Michael DeHaan
d90210973d
Merge pull request #1307 from sfromm/pull2
...
updates to ansible-pull
2012-10-12 14:34:53 -07:00
Michael DeHaan
271db7bddb
Merge pull request #1308 from abondis/named_action
...
named actions + modules list in utils.py
2012-10-12 14:33:43 -07:00
Michael DeHaan
35163bce96
Merge pull request #1310 from dagwieers/hpilo_boot-cleanup
...
hpilo_boot: Various clean ups in documentation and code
2012-10-12 14:33:05 -07:00
Michael DeHaan
b1ccda00f8
Merge pull request #1311 from dagwieers/hpilo_facts-cleanup
...
hpilo_facts: Various clean ups in documentation and code
2012-10-12 14:32:46 -07:00
Michael DeHaan
1487b6a1bb
Merge pull request #1313 from dagwieers/vsphere_facts-cleanup
...
vsphere_facts: Various cleanups in documentation
2012-10-12 14:32:31 -07:00
Michael DeHaan
3a8dc2308b
Merge pull request #1315 from dagwieers/mail-callback-improvement
...
This should set the sender properly.
2012-10-12 14:31:30 -07:00
Michael DeHaan
a82522a5c4
Merge pull request #1317 from abondis/fix_mysql_db
...
fix issue with mysql authentication and states not dump or import
2012-10-12 14:26:45 -07:00
Michael DeHaan
20a7227056
Merge pull request #1318 from dsummersl/cron24
...
fixed cron library so backups are python2.4 compatible
2012-10-12 14:25:51 -07:00
Michael DeHaan
6d8d1ad426
Merge pull request #1320 from tbielawa/DOCUMENTATION
...
Add DOCUMENTATION for module documentation.
2012-10-12 14:25:07 -07:00
Michael DeHaan
90944ec45a
Merge pull request #1319 from jhoekx/virt-boot
...
Add virt_boot module.
2012-10-12 14:23:19 -07:00
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
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