Commit Graph

17784 Commits (6ef188eec59f1aecbfaccf7c592003c97e618d94)
 

Author SHA1 Message Date
Alexey Shabalin 9196a72c3f Add support ssh configs from /etc/openssh.
In Altlinux system config dir for openssh is /etc/openssh.
9 years ago
James Cammarata 0b4a259444 Also chmod the args file path when using become for old-style modules
Fixes #14348
9 years ago
Felix Fontein 5353b8c3b6 Allowing multiple tags to be specified in include's tags argument. 9 years ago
Toshio Kuratomi 6869ced587 Update core submodule ref to fix apt locale bug 9 years ago
Toshio Kuratomi 87414e4fd1 Add locale fixes to changelgo 9 years ago
Toshio Kuratomi ef9c27e280 Update submodule refs 9 years ago
Toshio Kuratomi 76ab1d2afc Allow setting run_command environment overrides for the life of an AnsibleModule 9 years ago
Brian Coca a316891968 tag the setup task with always
fixes #14228
9 years ago
Toshio Kuratomi 3303f25a0c Fix --diff to respect no_log task parameter. 9 years ago
Toshio Kuratomi bee699a33a Update submodule refs 9 years ago
Dag Wieers 4133cf924a Also add 'null' as a possible JSON value 9 years ago
Dag Wieers 53559433ef Defined JSON booleans in global context for python eval()
We define 'false' and 'true' as variables so that python eval() recognizes them as False and True.

This fixes #14291.
9 years ago
James Cammarata 8ca8459af5 Merge pull request #14214 from dvarrazzo/conflicting-actions-message
Better "conflicting action statements" message
9 years ago
Dag Wieers 6c559e904a Handle when the lookup-plugin is used in jinja-style
This fixes #14190.
9 years ago
Brian Coca 901beeec55 avoid logging color codes 9 years ago
Toshio Kuratomi 4604deca92 Change $() into backticks. Backticks should work for both POSIX and non-POSIX compatible shells.
Fixes #14176
9 years ago
Toshio Kuratomi d001c73699 Establish sh as the default shell plugin.
This is a fix for one of the problems pointed out in #14176
9 years ago
Brian Coca 53cfde5096 better fix for ansible-pull inventory handling
now it mirrors what it did in previous versions
and properly uses inventory and limit options
9 years ago
Toshio Kuratomi 6c9d2cc2b4 Note the dnf fix 9 years ago
Toshio Kuratomi 4de1e26d5c Update submodule refs 9 years ago
Brian Coca 8ac8f4c2ab make executable setting connection dependant
winrm shoudl not use executable, rest should?
fixes #14233
9 years ago
Brian Coca 5035e53e80 Revert "load now does not modify the incomming data"
This reverts commit 2126e9fee1.
we judge this to be too big a change for stable, keeping in devel
we may still add part or all back to stable in the future.
9 years ago
Brian Coca 2126e9fee1 load now does not modify the incomming data
also removed json loader as yaml loader can do both
9 years ago
James Cammarata 93cab88663 Don't mark host as having gathered facts when peeking at next task
Fixes #14243
9 years ago
James Cammarata c5f857ec39 Make sure setup tasks inherit properly from their parent play
Fixes #13602
9 years ago
Brian Coca 07dd83bc6e deprecate all bare variable conversions (not debug)
now deprecation message appears with variable name in all spots where this occurs
debug's var= option is excluded as this is only place where bare variables shold actually
be accepted.
9 years ago
Brian Coca acb556b3d4 fix incorrect environment processing
it was assumed it could only be a dict or string (it starts out as a list)
also a 2nd assumption that bare vars only would appear in one of the dict keys.

removed deprecation warnings from here as they should be signaled in the bare conversion itself.
9 years ago
Brian Coca 48b20684f2 normalize error message on src != dir when local
now action plugin returns same error as module
9 years ago
Matt Martz d7a6ccc4c2 Use isinstance type checks in bool filter so we can handle unsafe proxy objects. Fixes #14240 9 years ago
Brian Coca 7f2bc082fa harcoding inventory/hosts when pulling from repo
return to pre 2.0 behaviour which did not factor inventory into the repo pull
9 years ago
Brian Coca d975f32243 added back --profile to keep backwards compat
this was broken by #12548
9 years ago
Toshio Kuratomi e8e388a742 Some attributes of callbacks aren't in v2. Port plugins to the v2 way to do that
Update porting guide with info on callback porting
9 years ago
Toshio Kuratomi a6c25f143a Explicitly set validate_certs=False as the boto default is True
Fixes #14089
9 years ago
Brian Coca e957ab5a7f fixed code for v1 callback runtime compatiblity
old exception code obsoleted by exception avoidance
errors on callback produce warnings and don't stop play
9 years ago
Brian Coca 46002111bb fix unicode input for template lookup
fixes #14207
9 years ago
Daniele Varrazzo 05bb1b3cb0 Better "conflicting action statements" message 9 years ago
Bernhard Lichtinger 8d7056220d Fix for SLES 11.4, which has now also an /etc/os-release file. 9 years ago
Toshio Kuratomi 76c941305b When setting up the local connection for the rsync we need to set the shell as well.
Fixes #13490
9 years ago
James Cammarata 48da1b8e85 New release v2.0.1.0-0.1.rc1 9 years ago
James Cammarata 1e56daf66c More CHANGELOG updates for 2.0.1 9 years ago
James Cammarata 506b0a8b61 New release v2.0.0.2-1 9 years ago
James Cammarata ea1339de18 New release v2.0.0.1-1 9 years ago
Toshio Kuratomi d60764bc81 Add more entries to changelog 9 years ago
Toshio Kuratomi 951fa36fca Return an error when synchronize is used with something other than an ssh connection
Suggested in #2832
9 years ago
James Cammarata 43cf527fe7 Don't try to generate retry files if the tqm hasn't been initialized
Fixes #14144
9 years ago
James Cammarata a074ebedbc Make retry file generation not use StringIO 9 years ago
James Cammarata d29dfdc84b Re-implementing the retry file feature for 2.0
Fixes #13944
9 years ago
James Cammarata aac8ea0262 Fix lookup of parent attribute when parent doesn't have the attr
Fixes #14100
9 years ago
Matt Martz 3db2073909 Only use os.path.basename if get_file_content returned a value, and ensure that service_mgr has line endings stripped. Fixes #14026 9 years ago
Tobias Wolf 0fddd90f14 Handle the key 'prepared' in the 'diff' result from modules
So far, when a 'diff' dict is returned with module results, it is
checked for 'before' and 'after' texts, which are processed in
_get_diff() by python difflib.  This generates the changes to display
when CLI users specify --diff.

However, some modules will generate changes that cannot easily be
expressed in a conventional diff. One example is the output of the
synchronize module, which presents changed files in a common log format
as in `rsync --itemize-changes`.

Add a check for a diff['prepared'] key, which can contain prepared diff text
from modules.
9 years ago