include a sanitized version of unit_name and relation name in Ansible's host_vars
Bug #1390535 reported by
Patrick Hetu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned |
Bug Description
Right now, I'm using something like this:
- name: set sanitized_unit_name
set_fact: sanitized_
- name: get relation name
set_fact: relation_name="{{ ansible_
when: ansible_
Since we do that a lot in charm it would be useful to do it in the library directly.
To post a comment you must log in.