Commit Graph

1523 Commits (40ff3eb106709094942f02d15b21271e354d5656)
 

Author SHA1 Message Date
Timothy Appnel 4b9b9a8a5b Importing re in runner for doing conditional tasks using pattern matching i.e. re.search(). Also conditionally outputting item when skipping. 12 years ago
Michael DeHaan 220ab33da3 changelog update 12 years ago
Michael DeHaan 738cea9c93 small tweaks to --help for hacking/test-module 12 years ago
Michael DeHaan fc96b88205 Teach the test-module script about the new way MODULE_ARGS works in new-style modules. 12 years ago
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 :)
12 years ago
Michael DeHaan f8520750cb Merge pull request #659 from bradobro/test_module_optparse
#658
12 years ago
Michael DeHaan 6448deb0b1 Merge pull request #660 from sfromm/newuser
Update user module to use new shared module code
12 years ago
Stephen Fromm f068bedfa1 Update user module to use new shared module code 12 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
12 years ago
bradobro ade0233d57 Refactoring test-module to be more like ansible. 12 years ago
Michael DeHaan 08ece6c54a update changelog 12 years ago
Michael DeHaan 617f9dc942 Added some caching logic to improve external inventory scripts, removed some debug statements. 12 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. 12 years ago
Michael DeHaan 84e1d21b9c Merge pull request #651 from marktheunissen/mysql_user_upgrade
Upgrading MySQL user module to new format
12 years ago
Mark Theunissen 12e23a1a6c Upgrading MySQL user module to new format 12 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.
12 years ago
Michael DeHaan 46650cfcec Merge branch 'get_url3' of https://github.com/jpmens/ansible into devel 12 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.
12 years ago
Michael DeHaan 492953f299 Merge pull request #650 from sfromm/newgroup
Update group module to use new shared module code
12 years ago
Stephen Fromm 1a9c54b1e1 Update group module to use new shared module code 12 years ago
Michael DeHaan 636a3367b5 Merge pull request #649 from marktheunissen/mysql_db_upgrade
Upgrading mysql_db to new shared module code
12 years ago
Mark Theunissen efb60776f4 Upgrading to new shared module code 12 years ago
Michael DeHaan 9f149c9f1a imports not needed 12 years ago
Michael DeHaan d0f4358730 Port the copy module over to the new "common module" logic. 12 years ago
Michael DeHaan d76c8c9c85 Various cleanup around runner's constructor and how daisy chaining is invoked. 12 years ago
Michael DeHaan 1682dd06c0 Avoid duplicate call to fetch inventory variables 12 years ago
Michael DeHaan 54c9c1e25c Some streamlining of first_available_file code 12 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
12 years ago
Michael DeHaan 2d06ee4c0d Fix some subtle things that were keeping 'hostvars' from being usable in templates. 12 years ago
Michael DeHaan 2b6d8a8be5 Fix some issues with the setup cache 12 years ago
Michael DeHaan dde11baa56 Remove YAML inventory tests since this is now deprecated. 12 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). 12 years ago
Michael DeHaan b15dde6b9f update changelog 12 years ago
Michael DeHaan dcca08b27b Don't let with_items erase 'hostvars' 12 years ago
Michael DeHaan b574c70006 host and group vars should update the setup cache 12 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.
12 years ago
Michael DeHaan db1a4d8fac Make 'assemble' use the new daisychain logic 12 years ago
Michael DeHaan 6fb74ae2f9 preserve 'changed' attributes in daisychain logic 12 years ago
Michael DeHaan d72c0c8898 replace module daisy-chaining logic 12 years ago
Michael DeHaan a33713234c Merge pull request #645 from sfromm/issue643
Skip get_ipv6_facts if socket.has_ipv6 is false
12 years ago
Stephen Fromm 2a0dfba838 Skip get_ipv6_facts if socket.has_ipv6 is false 12 years ago
Michael DeHaan b0eedfbf92 Merge pull request #639 from goozbach/issue-627
improved output in with_items fixes: #627
12 years ago
Michael DeHaan 85b9fa580c Merge pull request #644 from bradobro/common_fix
AnsibleModule now correctly reads param values with '"'.
12 years ago
bradobro a4a09fec82 AnsibleModule (in module_common.py) now correctly reads param values containing '='. 12 years ago
Michael DeHaan 290e1af339 Merge pull request #640 from sfromm/fancy
Sanitize possible password argument when logging invocation
12 years ago
Stephen Fromm 8195375412 Sanitize possible password argument when logging invocation; taken from user module 12 years ago
Derek Carter 34e2584220 improved output in with_items fixes: #627 12 years ago
Michael DeHaan baf07659f7 Merge pull request #638 from sfromm/issue604
Fix for issue 604
12 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.
12 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)
12 years ago