Commit Graph

5885 Commits (1f70fc6424d5fdeeec54606a4685dcf2dfdfb368)

Author SHA1 Message Date
James Cammarata c9cf07e3b5 Fixing bugs with {changed,failed}_when and until with registered vars
* Saving of the registered variable was occuring after the tests for
  changed/failed_when.
* Each of the above fields and until were being post_validated too early,
  so variables which were not defined at that time were causing task
  failures.

Fixes #13591
10 years ago
Toshio Kuratomi 0a319a28f2 Update submodule for mysql_user fix 10 years ago
James Cammarata 17fe156016 Fixing a mistake from tweaking list stuff too much
Use the action only if the task name is not set
10 years ago
James Cammarata 5824a6d9bb Further tweaks to the output format of list tasks/tags 10 years ago
James Cammarata 59cac03d3b Make --list-tasks respect tags
Also makes the output closer to the appearance of v1

Fixes #13260
10 years ago
Toshio Kuratomi cc2e0c1e3d Update submodule to pull in mysqldump fix 10 years ago
Toshio Kuratomi 64737c80f9 Update submodule refs 10 years ago
James Cammarata 1f7ed5d8ee Fix handling of environment inheritence, and template each inherited env
Environments were not being templated individually, so a variable environment
value was causing the exception regarding dicts to be hit. Also, environments
as inherited were coming through with the tasks listed first, followed by the
parents, so they were being merged backwards. Reversing the list of environments
fixed this.
10 years ago
James Cammarata f41dd578b3 Make sure we're using the original host when processing include results
Also fixes a bug where we were passing an incorrect number of parameters to
_do_handler_run() when processing an include file in a handler task/block.

Fixes #13560
10 years ago
James Cammarata 407d76b8d5 Fixing template integration test for python 2.6 versions
No longer immediately fallback to to_json if simplejson is not installed
10 years ago
Toshio Kuratomi d2c43c421f Update core module ref for mysql_user fix 10 years ago
James Cammarata bf9f6ce09c All variables in complex args again
Also updates the CHANGELOG to note the slight change, where bare variables
in args are no longer allowed to be bare variables

Fixes #13518
10 years ago
Brian Coca 84a6b543a9 ensure additional args are a dict
They should already be templated before hitting this point?
otherwise the class needs the task variables passed into it.
relates to #13518 and  https://groups.google.com/forum/#!msg/ansible-project/esoBcphHwHs/Ghgi_M-MCQAJ
10 years ago
chouseknecht abec9331d8 Fixed documentation typos and bits that needed clarification. Fixed missing spaces in VALID_ACTIONS. 10 years ago
chouseknecht 1e605d727c Define and handle ignore_certs correctly. Preserve search term order. Tweak to Galaxy docsite. 10 years ago
chouseknecht 8bb598daa2 Updated ansible-galaxy man page. Removed -b option for import. 10 years ago
chouseknecht 21edd6a5ab Fix overloaded options. Show an error when no action given. Don't show a helpful list of commands and descriptions. 10 years ago
nitzmahone d5bdea0bab fix plugin loading for Windows modules
force plugin loader to only consider .py files, since that's the only place docs can live ATM...
10 years ago
Toshio Kuratomi cd1bdaa61d Update submodule refs for mysql refactor 10 years ago
Jonathan Mainguy 9f69b6b585 Add shared connection code for mysql modules 10 years ago
James Cammarata 82519ab2a6 Preserve the cumulative path for checking includes which have parents
Otherwise, each relative include path is checked on its own, rather
than in relation to the (possibly relative) path of its parent, meaning
includes multiple level deep may fail to find the correct (or any) file.

Fixes #13472
10 years ago
Toshio Kuratomi 5761c333a6 Update submodule ref to fix docs build 10 years ago
Toshio Kuratomi 72b852a814 Update submodule refs 10 years ago
Toshio Kuratomi 897569c1ca Conditionally create the CustomHTTPSConnection class only if we have the required baseclasses.
Fixes #11918
10 years ago
Toshio Kuratomi 8e2cb2abb2 Fixes for proxy on RHEL5 10 years ago
Toshio Kuratomi b8d9b106de First attempt to fix https certificate errors through a proxy with python-2.7.9+
Fixes #12549
10 years ago
Brian Coca 48fb0cdecb debug now validates its params
simplified var handling
made default message the same as in pre 2.0
fixes #13532
10 years ago
James Cammarata 28602cddb0 Use the original host rather than the serialized one when processing results
Fixes #13526
Fixes #13564
Fixes #13566
10 years ago
Yannig Perré 5011d63f7e Fix a part of python 3 tests (make tests-py3, see https://github.com/ansible/ansible/issues/13553 for more details). 10 years ago
Brian Coca 5ab25e2dfe clean debug output to match prev versions 10 years ago
Brian Coca 6e1bb6c87d renamed ssh.py shared module file to clarify 10 years ago
Peter Sprygada ac7dc6bd81 the ssh shared module will try to use keys if the password is not supplied
The current ssh shared module forces only password based authentication.  This
change will allow the ssh module to use keys if a password is not provided.
10 years ago
Michael Scherer b6dac26224 Make module_utils.known_hosts.get_fqdn work on ipv6 10 years ago
Toshio Kuratomi 6df187da84 Fix for template module not creating a file that was not present when force=false 10 years ago
Toshio Kuratomi 62b2c9eb4e Update submodule refs 10 years ago
James Cammarata fc233bf3f4 Use an octal representation that works from 2.4->3+ for known_hosts 10 years ago
James Cammarata 8dcba63022 Fixing up some non-py3 things for unit tests 10 years ago
Hans-Joachim Kliemeck 60f5fe76a1 use default settings from ansible.cfg 10 years ago
James Cammarata e7bf204db4 A few tweaks to improve new forking code 10 years ago
James Cammarata c8e6461dee Changing the way workers are forked 10 years ago
Robin Roth d369e3ec72 fix whitespace 10 years ago
Robin Roth bff8db3c8f make shallow clone the default for ansibel-pull 10 years ago
Robin Roth 8c6010cc86 add depth option to ansible-pull
Allows shallow checkouts in ansible-pull by adding `--depth 1` (or higher number)
10 years ago
Brian Coca f9bff8e488 simplified skippy
thanks agaffney!
10 years ago
Brian Coca 6d83bf8ca9 changed shell delimiters for csh
fixes #13459
10 years ago
Brian Coca 17f06dd310 removed unused imports in galaxy/cli 10 years ago
Brian Coca 40b55eda4c avoid set to unique hosts to preserver order
swiched to using a list comp and set to still unique but keep expected order
fixes #13522
10 years ago
Brian Coca 7678ab05d8 removed merge conflict 10 years ago
James Cammarata 5b801afa38 Don't mark hosts failed if they've moved to a rescue portion of a block
Fixes #13521
10 years ago
Brian Coca 71cc791677 narrow down exception catching in block builds
this was obscuring other errors and should have always been narrow scope
10 years ago