Fix role addition skeleton
This was messing up the role name in the templates, e.g ansible-playbook -i localhost, role-addition.yml -e role_name=tripleo_foo Generates roles/tripleo_foo/defaults/main.yml with: tripleo_tripleo_foo_debug: "..." Also _skeleton_role_/vars/main.yml contained jinja2 but wasn't being processed. Change-Id: I59cfbf72add30b7d8de2e45262aaa7188ba1cf5d
This commit is contained in:
parent
e2716db951
commit
d0ed5b80c3
@ -17,6 +17,6 @@
|
||||
|
||||
# All variables intended for modification should be placed in this file.
|
||||
|
||||
# All variables within this role should have a prefix of "tripleo_{{ role_name | replace('tripleo-', '') | replace('-', '_') }}"
|
||||
tripleo_{{ role_name | replace('tripleo-', '') | replace('-', '_') }}_debug: {% raw %}"{{ (ansible_verbosity | int) >= 2 | bool }}"{% endraw %}
|
||||
tripleo_{{ role_name | replace('tripleo-', '') | replace('-', '_') }}_hide_sensitive_logs: true
|
||||
# All variables within this role should have a prefix of "tripleo_{{ role_name | replace('tripleo_', '') }}"
|
||||
tripleo_{{ role_name | replace('tripleo_', '') }}_debug: {% raw %}"{{ (ansible_verbosity | int) >= 2 | bool }}"{% endraw %}
|
||||
tripleo_{{ role_name | replace('tripleo_', '') }}_hide_sensitive_logs: true
|
||||
|
@ -19,4 +19,4 @@
|
||||
# vars, items within this path are considered part of the role and not
|
||||
# intended to be modified.
|
||||
|
||||
# All variables within this role should have a prefix of "tripleo_{{ role_name | replace('tripleo-', '') | replace('-', '_') }}"
|
||||
# All variables within this role should have a prefix of "tripleo_{{ role_name | replace('tripleo_', '') }}"
|
Loading…
Reference in New Issue
Block a user