You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible/playbook
Brian Coca 9e00214fb4
fix delegation vars usage (debug still shows inventory_hostname (#69520)
* fix delegation vars usage (debug still shows inventory_hostname) (#69244)

* fix delegation vars usage and reporting

 - just pass delegated host vars + task vars to plugins
   and avoid poluting with original host vars
 - updated tests

(cherry picked from commit 2165f9ac40)

* fix delegated interpreter discovery (#69604)

* fix delegated interpeter
* allow returning fact if it is 'the right host'
* added note for future fix/efficiency
 as it stands we rerun discovery for the delegated host
unless its saving facts to itself
 * fixed test lacking delegate_to mock

(cherry picked from commit de3f7c7739)

* Fix `ansible -K` become_pass regression (#69629)

* Fix `ansible -K` become_pass regression

Change:
- This fixes a breaking change introduced in
  2165f9ac40

Test Plan:
- Local VM for now, with plans to add an integration test for -K going
  forward.

Tickets:
Refs #69244

(cherry picked from commit fe9696be52)

* fix discovery on loop with delegation (#70013)

* fix discovery on loop with delegation

fixes #69963

(cherry picked from commit 4c9d9dbb56)

Co-authored-by: Rick Elrod <rick@elrod.me>
6 years ago
..
role [stable-2.9] Allow a collection role to call a standalone role by default (#69102) 6 years ago
__init__.py Move plugin loader playbook dir additions back to Playbook instead of PlaybookCLI (#59557) 6 years ago
attribute.py Move common build code from _build_helpers (#55986) 7 years ago
base.py T woerner max concurrent (#60702) 6 years ago
block.py become mixin is no more (#54002) 7 years ago
collectionsearch.py default collection support (#61415) 6 years ago
conditional.py [stable-2.9] Clean up CONDITIONAL_BARE_VARS warning. Fixes #67735 (#67751). 6 years ago
handler.py Fix notifying handlers by using an exact match (#55624) 7 years ago
handler_task_include.py Validate args for includes in handlers too (#57537) (#69448) 6 years ago
helpers.py Collection role relative deps (#61517) 6 years ago
included_file.py Fix extended loop_control with includes (#61231) 6 years ago
loop_control.py allows loop pause for subseconds (#50461) 7 years ago
play.py Ensure `allow_duplicates: true` enables to run single role multiple times (#64902) (#65063) 6 years ago
play_context.py removed previouslly deprecated settings (#55662) 7 years ago
playbook_include.py Do not use mutable defaults in FieldAttribute, instead allow supplying a callable for defaults of mutable types. Fixes #46824 (#46833) 7 years ago
role_include.py Add ansible_parent_role_names magic variable (#46687) 7 years ago
taggable.py Allow tags to be templated from a variable (#49833) 7 years ago
task.py fix delegation vars usage (debug still shows inventory_hostname (#69520) 6 years ago
task_include.py Validate args for includes in handlers too (#57537) (#69448) 6 years ago