Commit 52e11d1
[reproducer] Use include_role for install_ca in delegated block
When import_role is used inside a delegate_to block, Ansible
triggers Python interpreter discovery on the original host
(hypervisor) rather than the delegate target (controller-0).
If the SSH connection to the hypervisor is unavailable at that
point, the task fails with UNREACHABLE.
Switch to include_role which loads tasks dynamically within the
delegated execution context, avoiding the interpreter discovery
on the original host.
Signed-off-by: Miguel Angel Nieto Jimenez <mnietoji@redhat.com>1 parent c7a2c0e commit 52e11d1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments