tasks which try to omit a delegation attempt to ssh directly to containers
Bug #1763300 reported by
Jonathan Rosser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
High
|
Jean-Philippe Evrard |
Bug Description
I tried to make the target-host download the tempest images with the functionality here https:/
That results in an attempt to ssh directly to the target container rather than use the ssh plugin correctly.
I wrote a test case for that which confirms the behaviour:
https:/
cloudnull suggests that the code could look like this instead
http://
There are several uses of this pattern in the openstack-ansible roles
http://
description: | updated |
To post a comment you must log in.
Hey.
I 100% agree with cloudnull, omit should only be used in task arguments.
The omit in delegation would replace the inventory_hostname with omit_place_ holder_ <number> , which would not inherit the variables that are required for connecting, and all the other variables we are setting, except the all variables. This is a bad pattern.