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
Toshio Kuratomi
d3de771d2e
Update submodule ref
9 years ago
Toshio Kuratomi
459c4ec124
Remove the duplicate modstyle parameter
9 years ago
Robin Roth
1c447016c3
extend zypper integration tests ( #15596 )
...
* extend zypper integration tests
* fix caching issue of local RPMS on openSUSE 42.1 Leap
* add tests for simultaneous install/remove via prefixes +-
* test fail cases (rm patch or URL)
* test patch install (succes, unchanged second run, fail on wrong name)
* add test for pattern install
9 years ago
Toshio Kuratomi
41f5ce80fa
Some algorithmic unittests for the apt and docker modules
9 years ago
Toshio Kuratomi
07e0fceb61
Some beginning python3 porting for urls.py
9 years ago
Toshio Kuratomi
caa8fffa01
Fix traceback in fetch_urls when status code is in info as well as the error.
9 years ago
James Cammarata
5954a82dd6
New release v2.1.0.0-0.1.rc1
9 years ago
James Cammarata
7f7e010a32
Submodule update for stable-2.1 branch
9 years ago
Peter Sprygada
7dd4dd2e2e
update CHANGELOG with network modules
9 years ago
nitzmahone
8c27018038
update submodule refs
9 years ago
nitzmahone
93ca406c9d
windows changelog updates
9 years ago
James Cammarata
5727806b05
Updating CHANGELOG for 2.1
...
Also backported CHANGELOG/RELEASES entries from stable branches.
9 years ago