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/test/units
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>
5 years ago
..
cli galaxy - preserve mode properly on artifact (#68418) - 2.9 (#68451) 5 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Fix inline vaults for plugins in ensure_type (#67492) (#67741) 5 years ago
contrib Fix vmware_inventory unit tests so they run. 6 years ago
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 6 years ago
executor Fix network action plugin load in collection (#65849) 5 years ago
galaxy ansible-galaxy - Fix tar path traversal issue during install - CVE-2020-10691 - 2.9 (#68601) 5 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 10 years ago
mock Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
module_utils get_url pass incorrect If-Modified-Since header(#67417) (#67419) 5 years ago
modules routeros_facts: prevent crash of module when ipv6 package is not installed (#68554) 5 years ago
parsing Add a representer for AnsibleUnsafeBytes (#62598) 5 years ago
playbook Wrap CLI passwords as AnsibleUnsafeText (#63352) 5 years ago
plugins fix delegation vars usage (debug still shows inventory_hostname (#69520) 5 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template [stable-2.9] Do not treat AnsibleUndefined as being unsafe (#65202) (#65427) 5 years ago
utils fix get_data on case_insensitive fs (#69955) 5 years ago
vars Fix inventory cache interface (#50446) 6 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt [stable-2.9] Fix ansible-test collections requirements installation. (#62181) 5 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 8 years ago
test_context.py Unit tests: remove unused imports (#59740) 5 years ago