delegate_facts does not work with container connection plugin
Bug #1721912 reported by
Logan V
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Won't Fix
|
High
|
Unassigned |
Bug Description
The delegate_facts that occurs here does not actually assign the facts to the ceph-mon container, because even though the fact is delegated to the container's inventory_hostname, you can see from the task output that it is being delegated to the container's ansible_host instead, so the facts are never mapped back to the inventory_hostname.
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → High |
To post a comment you must log in.
The facts seem to be stored in the host "{{ item }}" ... see the cache:
# ls -1 /etc/openstack_ deploy/ ansible_ facts/\ {\{\ item\ \}\} deploy/ ansible_ facts/{ { item }}
/etc/openstack_
^ this contains the facts collected by this delegate_facts task /github. com/openstack/ openstack- ansible/ blob/91dea65c3d 52698003f11a92d 4fb52e6e0d8a94b /playbooks/ ceph-install. yml#L174- L183
https:/