| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* More cases where synchronize and sudo are broken
* synchronize copying to the wrong host when inventory_hostname is
localhost
|
|
|
|
| |
Fixes #14041
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In 2.0.0.x become was reversed for synchronize. It was happening on the local
machine instead of the remote machine. This restores the ansible-1.9.x
behaviour of doing become on the remote machine. However, there's aspects of
this that are hacky (no hackier than ansible-1.9 but not using 2.0 features).
The big problem is that it does not understand any become method except sudo.
I'm willing to use a partial fix now because we don't want people to get used
to the reversed semantics in their playbooks.
|
|
|
|
|
| |
also removed cruft about localhost as if used it is specified inline
fixes #13848
|
|
|
|
|
| |
it is now called for every event prior to any other callbacks
fixes #14114
|
| |
|
| |
|
|\
| |
| | |
Note "ssh" deprecation for inventory variables
|
| | |
|
|\ \
| | |
| | | |
Fixes documentation formatting
|
| | |
| | |
| | |
| | | |
Fixes documentation formatting
|
|\ \ \
| | | |
| | | | |
Change example to use pkg rather than the obsolete pkg_add
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
pkg_add has been obsoleted in all released versions of FreeBSD for
several years. Change the example to use the appropriate pkg(8)
command line.
|
|/ /
| |
| |
| |
| |
| | |
Fixes a bug inroduced in fb797a9 where included tasks in a role
were not being executed because the child blocks had no dep chain
set.
|
|/
|
|
|
|
|
|
|
| |
Role definitions typically require params to be different from those
which are specified as FieldAttributes on the playbook classes used
for roles, however a certain subset should be allowed (typically those
used for connection stuff).
Fixes #14095
|
|\
| |
| | |
Fix server numbers in first 10 next 10 example
|
| | |
|
| |
| |
| |
| | |
Fixes #14082
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The dep chain for roles created during the compile step had bugs, in
which the dep chain was overwriten and the original tasks in the role
were not assigned a dep chain. This lead to problems in determining
whether roles had already run when in a "diamond" structure, and in
some cases roles were not correctly getting variables from parents.
Fixes #14046
|
|\ \
| |/
|/| |
Add Python 2.4 requirement to module checklist
|
| | |
|
| |
| |
| | |
It's in the travis check, but we don't spell it out explicitly in the guidelines.
|
| |\
| | |
| | | |
sync to head
|
| | | |
|
| | |
| | |
| | |
| | | |
Fixes #14056
|
| |/
|/| |
|
|\ \
| | |
| | | |
Avoid recursively checking JSON inventory for Unicode
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
by moving to en-bloc unicode conversion to act on scripts stdout
Both python-json and simplejson always return unicode strings when using
their loads() method on unicode strings. This is true at least since
2009. This makes checking each substring unnecessary, because we do not
need to recursively check the strings contained in the inventory dict
later one-by-one
This commit makes parsing of large dynamic inventory at least 2 seconds
faster.
cf: https://github.com/towolf/ansible-large-inventory-testcase
|
| | |
| | |
| | |
| | | |
also cleaned up unused import and exception var
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is pre-post_validation, so we have to template it on the fly
as we use it to determine if we bypass the host loop.
Fixes #11876
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This prevents a bug where the existing cache outside of the class
is not cleared when creating a new Inventory object. This only really
affects people using the API directly right now, but wanted to fix it
to prevent weird errors from popping up.
|
| | |
| | |
| | |
| | |
| | | |
now the lookup works when using ! and & operators
fixes #13997
|
|\ \ \
| | | |
| | | | |
plugins/strategy: added significant details to parser error message.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
See discussion at
https://github.com/ansible/ansible/issues/13753
|
|\ \ \ \
| | | | |
| | | | | |
Add a config option for rackspace inventory cache
|
| | | | | |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
Adding a config and environment variable option for tuning the cache age
check in the rackspace inventory module
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes #13965
Fixes #13971
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
rework run_command's env setting to not change os.environ for the res…
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
the module.
New param to run_command to modify the environment for just this invocation.
Documentation and comment adjustments.
|
| | |
| | |
| | |
| | | |
that service_mgr has line endings stripped. Fixes #14026
|
|\ \ \
| | |/
| |/| |
Adding docs help for testing modules
|
| | | |
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
go back to always wrapping commands in shell
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
this was taken out in an effort to default to the user's shell but creates issues as this is not known ahead of time
and its painful to set executable and shell_type for all servers, it should only be needed for those that restrict the user
to specific shells and when /bin/sh is not available. raw and command may still bypass this by explicitly passing None.
fixes #13882
still conditional
|