mirror of https://github.com/ansible/ansible.git
Fixes #70168
ci_complete
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit b05e00e99a
)
pull/70714/head
parent
e1c0688e43
commit
7dfda4026e
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "Fix ``delegate_facts: true`` when ``ansible_python_interpreter`` is not set. (https://github.com/ansible/ansible/issues/70168)"
|
@ -0,0 +1,2 @@
|
||||
shippable/posix/group1
|
||||
non_local # this test requires interpreter discovery, which means code coverage must be disabled
|
@ -0,0 +1,10 @@
|
||||
- hosts: localhost
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Test python interpreter discovery with delegate_to without delegate_facts
|
||||
ping:
|
||||
delegate_to: testhost
|
||||
- name: Test python interpreter discovery with delegate_to with delegate_facts
|
||||
ping:
|
||||
delegate_to: testhost
|
||||
delegate_facts: yes
|
@ -0,0 +1,2 @@
|
||||
[local]
|
||||
testhost ansible_connection=local ansible_python_interpreter=auto # interpreter discovery required
|
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eux
|
||||
|
||||
ansible-playbook delegate_facts.yml -i inventory "$@"
|
Loading…
Reference in New Issue