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/executor
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
..
discovery Python interpreter discovery (#50163) 7 years ago
powershell Address compat issue for collection loading on py26 (#68219) (#69402) 6 years ago
process fix vault temp file handling (#68433) 6 years ago
__init__.py ansible/executor: PEP8 compliancy (#24695) 9 years ago
action_write_locks.py Clarify the comments for action_write_locks 8 years ago
interpreter_discovery.py Use unicode string for auto interpreter warnings (#53671) 7 years ago
module_common.py Address compat issue for collection loading on py26 (#68219) (#69402) 6 years ago
play_iterator.py Remove "legacy" code from PlayIterator (#53754) 7 years ago
playbook_executor.py Not native, but text (#55676) 7 years ago
stats.py Add stats on rescued/ignored tasks (#48418) 7 years ago
task_executor.py fix delegation vars usage (debug still shows inventory_hostname (#69520) 6 years ago
task_queue_manager.py Fix callback set_options issue with collections (#66128) 6 years ago
task_result.py Always keep subset data for callbacks (#56881) 7 years ago