Kamjar Gerami
6f99f40f37
fixes-#15685-tools-that-paginate-show-spurious-less-output: less --version outputs to standard out not to standard error so this changes the redirect from 2> to > ( #15720 )
...
fixes-#15685-tools-that-paginate-show-spurious-less-output: Updated redirect to include stderr as well as stdout to not show any errors on screen
9 years ago
Toshio Kuratomi
be28443943
Strip leading and trailing whitespace for json arg types
9 years ago
nitzmahone
9620eadc03
bump extras submodule ref
9 years ago
Toshio Kuratomi
73dd183394
Update submodule refs
9 years ago
James Cammarata
506e6255b2
Fixing bugs in strategies
...
* Don't filter hosts remaining based on their failed state. Instead rely
on the PlayIterator to return None/ITERATING_COMPLETE when the host is
failed.
* In the free strategy, make sure we wait outside the host loop for all
pending results to be processed.
* Use the internal _set_failed_state() instead of manually setting things
when a failed child state is hit
Fixes #15623
9 years ago
nitzmahone
4574a0e82d
bump submodule refs
9 years ago
nitzmahone
761cdc794e
add jimi-c's unit test for squashed skip results, tweaked is_skipped() logic to pass
9 years ago
Andrew Taumoefolau
da1e62a6d9
Don't assume a task with non-dict loop results has been skipped.
...
This changeset addresses the issue reported here:
ansible/ansible-modules-core#1765
The yum module (at least) includes its task results as strings, rather than
dicts, and the code this changeset replaces assumed that in that instance the
task was skipped. The updated behaviour assumes that the task has been
skipped only if:
* results exist, and
* all results are dicts that include a truthy skipped value
9 years ago
Matt Hite
198f57b61e
New inventory_ip_type option in gce inventory tool
9 years ago
Brian Coca
90fef85143
check that variable first
...
before using string methods to check for magic interpreter var
9 years ago
camradal
a355ebcbb8
Fix logging into vCloud Director and expose verify_certs argument ( #15533 )
9 years ago
nitzmahone
2c8715178f
error message cleanup
9 years ago
Tobias Wolf
7662b06d5b
actionable.py: Do not print next task banner in handler callback ( #15698 )
...
Fix actionable callback plugin to not print the banner of the previous
task.
When a handler is executed there is no task banner, so in case it is run,
it will reference the banner from the preceding task.
**Author:** @hvhaugwitz
Test case:
---
- name: actionable filter
hosts: all
handlers:
- name: handler
command: "true"
tasks:
- name: task 1
file: path=/tmp/test state=touch
notify: handler
- name: task 2
file: path=/tmp/test state=absent
- name: task 3
file: path=/tmp/test state=absent
- name: task 4
file: path=/tmp/test state=absent
- name: task 5
file: path=/tmp/test state=absent
- name: task 6
file: path=/tmp/test state=absent
Example output:
BEFORE
------
PLAY [actionable filter] *******************************************************
TASK [task 1] ******************************************************************
changed: [localhost]
TASK [task 2] ******************************************************************
changed: [localhost]
RUNNING HANDLER [handler] ******************************************************
TASK [task 6] ******************************************************************
changed: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=8 changed=3 unreachable=0 failed=0
AFTER
-----
PLAY [actionable filter] *******************************************************
TASK [task 1] ******************************************************************
changed: [localhost]
TASK [task 2] ******************************************************************
changed: [localhost]
RUNNING HANDLER [handler] ******************************************************
changed: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=8 changed=3 unreachable=0 failed=0
9 years ago
Toshio Kuratomi
e52caba801
Update submodule ref to fix ansible-doc for azure modules
9 years ago
Toshio Kuratomi
efbcd8bda0
Add a jsonarg type to arg spec ( #15701 )
...
This makes sure that if we get a list or dict that it is turned into
a jsonified string.
9 years ago
Martin Matuska
86768fdcc8
Treat "static: yes/no" with higher priority than "task_includes_static" in ansible.cfg
9 years ago
Martin Matuska
e1b7d4cb4d
Restore Ansible 2.0 compatibility for includes
9 years ago
Toshio Kuratomi
641b4cc952
Add unarchive fixes to changelog
9 years ago
Toshio Kuratomi
7cc7684abd
Update submodule refs
9 years ago
jctanner
16c1f10e18
Remove the ziploader provided pythonpaths from the env inside run_com… ( #15674 )
...
Remove the ziploader provided pythonpaths from the env inside run_command.
Fixes #15655
9 years ago
Brian Coca
4abadead76
make vi the default editor if no EDITOR
...
fixes #15577
9 years ago
James Cammarata
c7cae3b08c
Don't fail hosts when using any_errors_fatal when ignoring errors
...
Fixes #15431
9 years ago
Yannig
40c0f34c41
When var name is the same as var content, try to template it before reporting that var is not defined. ( #13629 )
...
* When var name is the same as var content, try to template it before reporting that var is not defined.
Add asserts in test_var_blending to check this special corner case.
* Fix integration tests when using debug with list or dict.
9 years ago
Toshio Kuratomi
48fa4f842e
Get rid of logentries.to_unicode.
...
It wasn't doing anything that a literal couldn't do and used
unicode_escape which only understands latin1 (The author of the code
seems to have thought it took an encoding argument but it looks like
that was silently ignored.)
9 years ago
Toshio Kuratomi
145d8626d0
Fix inventory on python3
9 years ago
Toshio Kuratomi
e27b22162a
bytes when passing to os.path.* and opening the file, text at other times
...
Fixes #15644
9 years ago
Toshio Kuratomi
92c299cfd5
Update submodule refs
9 years ago
Toshio Kuratomi
5909a4473d
Fix the mapping of module_name to Locks
...
This was reinitialized every time we forked before so we weren't sharing
the same Locks. It also was not accounting for modules which were
directly invoked by an action plugin instead of going through the
strategy plguins.
9 years ago
Toshio Kuratomi
d5585220a4
Fix the version number
9 years ago
Toshio Kuratomi
1e5708514b
Fix ziploader for the cornercase of ansible invoking ansible.
...
* Make ziploader's ansible and ansible.module_utils libraries into
namespace packages.
* Move __version__ and __author__ from ansible/__init__ to
ansible/release.py. This is because namespace packages only load one
__init__.py. If that is not the __init__.py with the author and
version info then those won't be available.
* In ziploader, move the version ito ANSIBLE_CONSTANTS.
* Change PluginLoader to properly construct the path to the plugins even
when namespace packages are present.
9 years ago
Brian Coca
a582664bc6
fix typo
9 years ago
Brian Coca
08ce27edfb
fixed method signature as per #15668
9 years ago
chouseknecht
bea94efd73
Add aliases
9 years ago
chouseknecht
92f058b1f5
Updated doc fragment to be consistent with the getting started guide.
9 years ago
chouseknecht
7ed6270808
Fixed docker_host definition.
9 years ago
chouseknecht
6db3d4887e
Change command line parameters to parameters.
9 years ago
chouseknecht
5e7e55830f
Adding getting started guide for Docker
9 years ago
chouseknecht
8f31634977
Update submodules
9 years ago
chouseknecht
688a7d3668
Updating submodules
9 years ago
chouseknecht
8bef5ccae9
Updating submodules
9 years ago
Brian Coca
74b4d7a2ae
API now connects to server lazily ( #15632 )
...
This should fix most issues with offline operation.
Fixes #14486
Fixes #13991
Alternate to #15363 and #15593
9 years ago
Dag Wieers
5a9e826647
Rename function bool() as it is a Python built-in function ( #15651 )
9 years ago
Toshio Kuratomi
3c42724d96
Update extras submodules
9 years ago
Toshio Kuratomi
069e032dcd
Add git_config module to 2.1 changelog
9 years ago
Toshio Kuratomi
9535feb90a
Update submodule ref
9 years ago
Chris Houseknecht
0b28f708c4
Update and fix typos in docker inventory docstrings. ( #15616 )
9 years ago
Toshio Kuratomi
10c3472699
Handle "/usr/bin/env python" style ansible_*interpreter settings.
...
Fixes #15635
9 years ago
Brian Coca
b6c59f89d2
added common azure tags fragment
9 years ago
Brett Inman
8222a83bcd
Make -q flag totally quiet for env-setup.fish
...
The first echo and setup.py steps are not quiet and result in output that is annoying if your Fish is configured to source the file.
9 years ago
Toshio Kuratomi
430bef907a
Fix for unittests on python2.6 or less
9 years ago