Michael DeHaan
8dadf8a905
Use 'path' in file documentation, though src/dest work, it's less intuitive.
2012-10-12 22:08:07 -04:00
Michael DeHaan
7b6f8e485a
refine example
2012-10-12 21:39:35 -04:00
Michael DeHaan
2c90298841
Merge pull request #1314 from apenney/bugfix/git
...
Check rc instead of parsing for errors.
2012-10-12 18:18:04 -07:00
Michael DeHaan
fb686d40bc
Merge pull request #1322 from sfromm/moduleformatter
...
Miscellaneous fixes to module_formatter.py
2012-10-12 17:17:59 -07:00
Michael DeHaan
971dd53622
Added documentation on looping over with_* like fileglob
2012-10-12 20:15:13 -04:00
Michael DeHaan
dd3beb844f
add lookup plugins to setup.py
2012-10-12 20:07:45 -04:00
Michael DeHaan
c5d2f6b0d3
implement lookup plugins for arbitrary enumeration over arbitrary things. See the mailing list for some cool examples.
2012-10-12 20:07:05 -04:00
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
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