Replace "hiera -c" calls with ansible native hiera lookup

Bug #1774335 reported by Cédric Jeanneret
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Low
Cédric Jeanneret

Bug Description

Dear Stackers,

Since ansible 2.4, there's a hiera lookup module¹. It would be classy to replace all the "command: hiera -c ...." calls by this very lookup.

Would you agree with that?

Cheers,

C.

¹ https://docs.ansible.com/ansible/2.5/plugins/lookup/hiera.html

Changed in tripleo:
importance: Undecided → Low
status: New → Triaged
milestone: none → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
assignee: nobody → David Sanz (morenod)
Changed in tripleo:
assignee: David Sanz (morenod) → nobody
Changed in tripleo:
assignee: nobody → Cédric Jeanneret (cjeanner)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/581696

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Cédric Jeanneret (<email address hidden>) on branch: master
Review: https://review.openstack.org/581696
Reason: we would need proper roles in order to use filter_plugins.
The hiera lookup is executed on the master (i.e. undercloud) and not remotely, so it's pretty useless.

Revision history for this message
Cédric Jeanneret (cjeanner) wrote :

Not possible for now:
the hiera lookup is executed on the master node (undercloud), not remotely.

And if we want to call some filter_plugins, this would require a proper role hierarchy, and currently we don't have that in tripleo.

Marking this issue as invalid for now.

Changed in tripleo:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.