mirror of https://github.com/ansible/ansible.git
Fix storing local task_vars facts for the retry (#70171)
* Fix storing local task_vars facts for the retry Fixes #70168pull/70214/head
parent
b2d6db7916
commit
eaf6086eea
@ -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,11 @@
|
||||
- hosts: testhost
|
||||
gather_facts: yes
|
||||
tasks:
|
||||
- detect_interpreter:
|
||||
delegate_to: "{{ item }}"
|
||||
delegate_facts: yes
|
||||
vars:
|
||||
ansible_python_interpreter: auto
|
||||
loop:
|
||||
- testhost3
|
||||
- testhost4
|
||||
Loading…
Reference in New Issue