mirror of https://github.com/ansible/ansible.git
parent
f752c7f179
commit
e009cd9733
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Avoid task executor from ending early as vars can come from delegated to host.
|
@ -0,0 +1,18 @@
|
||||
- name: ensure we can use fact on delegated host for connection info
|
||||
hosts: localhost
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- add_host: name=f31 bogus_user=notme ansible_connection=ssh ansible_host=4.2.2.2
|
||||
|
||||
- name: if not overriding with delegated host info, will not be unreachable
|
||||
ping:
|
||||
timeout: 5
|
||||
delegate_to: f31
|
||||
ignore_errors: true
|
||||
ignore_unreachable: true
|
||||
register: delping
|
||||
|
||||
- name: ensure that the expected happened
|
||||
assert:
|
||||
that:
|
||||
- delping is failed
|
Loading…
Reference in New Issue