Michael DeHaan
ec12cc4154
Save the transfer of the module file for new style modules, because we can inject the arguments into the modules.
...
Module consumers using the API don't have to know how this works. base64 stuff is only there
because escaping a docstring inside a docstring was a bit of a challenge :)
13 years ago
Michael DeHaan
f8520750cb
Merge pull request #659 from bradobro/test_module_optparse
...
#658
13 years ago
Michael DeHaan
6448deb0b1
Merge pull request #660 from sfromm/newuser
...
Update user module to use new shared module code
13 years ago
Stephen Fromm
f068bedfa1
Update user module to use new shared module code
13 years ago
bradobro
e8583833a7
test-module uses optparse with --debugger
...
Refactored hacking/test-module
1. uses optparse
2. has --debugger option
tested only with pdb on Python 2.7
13 years ago
bradobro
ade0233d57
Refactoring test-module to be more like ansible.
13 years ago
Michael DeHaan
08ece6c54a
update changelog
13 years ago
Michael DeHaan
617f9dc942
Added some caching logic to improve external inventory scripts, removed some debug statements.
13 years ago
Michael DeHaan
57f12ac9e3
Using __slots__ in more places, in particular, hosts and groups, where we are apt to create a fair amount of objects.
13 years ago
Michael DeHaan
84e1d21b9c
Merge pull request #651 from marktheunissen/mysql_user_upgrade
...
Upgrading MySQL user module to new format
13 years ago
Mark Theunissen
12e23a1a6c
Upgrading MySQL user module to new format
13 years ago
Michael DeHaan
0b891fc8fb
Tweaking daisychain internals to allow get_url to modify the path destination when downloading to a directory.
...
Minor module refactoring.
13 years ago
Michael DeHaan
46650cfcec
Merge branch 'get_url3' of https://github.com/jpmens/ansible into devel
13 years ago
Michael DeHaan
396b81b647
Remove this check as it wasn't really needed and in recent refinements keeps the group_vars stuff from working
...
as desired.
13 years ago
Michael DeHaan
492953f299
Merge pull request #650 from sfromm/newgroup
...
Update group module to use new shared module code
13 years ago
Stephen Fromm
1a9c54b1e1
Update group module to use new shared module code
13 years ago
Michael DeHaan
636a3367b5
Merge pull request #649 from marktheunissen/mysql_db_upgrade
...
Upgrading mysql_db to new shared module code
13 years ago
Mark Theunissen
efb60776f4
Upgrading to new shared module code
13 years ago
Michael DeHaan
9f149c9f1a
imports not needed
13 years ago
Michael DeHaan
d0f4358730
Port the copy module over to the new "common module" logic.
13 years ago
Michael DeHaan
d76c8c9c85
Various cleanup around runner's constructor and how daisy chaining is invoked.
13 years ago
Michael DeHaan
1682dd06c0
Avoid duplicate call to fetch inventory variables
13 years ago
Michael DeHaan
54c9c1e25c
Some streamlining of first_available_file code
13 years ago
Jan-Piet Mens
b8d7b5041b
new module: get_url
...
get module (with new module-magic-code!)
Usage: ansible -m get -a "url=http://xxxxxxx dest=fileordirctory"
all cleanups as per @mpdehaan's suggestions
add daisychain
added example playbook (get_url.yml) with URLencode example
13 years ago
Michael DeHaan
2d06ee4c0d
Fix some subtle things that were keeping 'hostvars' from being usable in templates.
13 years ago
Michael DeHaan
2b6d8a8be5
Fix some issues with the setup cache
13 years ago
Michael DeHaan
dde11baa56
Remove YAML inventory tests since this is now deprecated.
13 years ago
Michael DeHaan
5a67a556cd
Script to migrate YAML users to the INI format, so we can deprecate YAML inventory (which we are now doing).
13 years ago
Michael DeHaan
b15dde6b9f
update changelog
13 years ago
Michael DeHaan
dcca08b27b
Don't let with_items erase 'hostvars'
13 years ago
Michael DeHaan
b574c70006
host and group vars should update the setup cache
13 years ago
Michael DeHaan
ba3466af95
The following paths are now implict and optional in vars_files:
...
./group_vars/groupname.yml (for all groups the host is in)
./host_vars/hostname.yml (for the hostname given in the inventory)
This requires an actual inventory file, not script and the paths are relative
to the directory of the inventory file.
13 years ago
Michael DeHaan
db1a4d8fac
Make 'assemble' use the new daisychain logic
13 years ago
Michael DeHaan
6fb74ae2f9
preserve 'changed' attributes in daisychain logic
13 years ago
Michael DeHaan
d72c0c8898
replace module daisy-chaining logic
13 years ago
Michael DeHaan
a33713234c
Merge pull request #645 from sfromm/issue643
...
Skip get_ipv6_facts if socket.has_ipv6 is false
13 years ago
Stephen Fromm
2a0dfba838
Skip get_ipv6_facts if socket.has_ipv6 is false
13 years ago
Michael DeHaan
b0eedfbf92
Merge pull request #639 from goozbach/issue-627
...
improved output in with_items fixes : #627
13 years ago
Michael DeHaan
85b9fa580c
Merge pull request #644 from bradobro/common_fix
...
AnsibleModule now correctly reads param values with '"'.
13 years ago
bradobro
a4a09fec82
AnsibleModule (in module_common.py) now correctly reads param values containing '='.
13 years ago
Michael DeHaan
290e1af339
Merge pull request #640 from sfromm/fancy
...
Sanitize possible password argument when logging invocation
13 years ago
Stephen Fromm
8195375412
Sanitize possible password argument when logging invocation; taken from user module
13 years ago
Derek Carter
34e2584220
improved output in with_items fixes : #627
13 years ago
Michael DeHaan
baf07659f7
Merge pull request #638 from sfromm/issue604
...
Fix for issue 604
13 years ago
Stephen Fromm
fd059a3df2
Fix for issue 604
...
Do not switch to master branch in pull()
Add --track to git checkout, when checking out a remote branch to track.
13 years ago
Michael DeHaan
70ef8e9ebb
Merge pull request #637 from goozbach/git-mkdir
...
git mkdir causes problems with older git (can't c/o to existing directory)
13 years ago
Derek Carter
f0f8eb3445
git mkdir causes problems with older git (can't checkout to existing directory)
13 years ago
Michael DeHaan
dba87fce91
Merge pull request #636 from preyk-work/devel
...
fixed debian changelog format
13 years ago
K. Preyk
b0b7484390
fixed debian changelog format
13 years ago
Michael DeHaan
6e84374c2a
Make hostvars work post refactoring
13 years ago