Commit f6424cb6 by TJ Keemon

update ansible-role templates to use correct variable

parent 753be18d
--- ---
{% include 'roles/ansible-role/templates/header.j2' %} {% include 'roles/ansible-role/templates/header.j2' %}
# #
# Defaults for role {{ role_name }} # Defaults for role {{ my_role_name }}
# #
# #
# vars are namespaced with the module name. # vars are namespaced with the module name.
# #
{{ role_name }}_role_name: {{ role_name }} {{ my_role_name }}_role_name: {{ my_role_name }}
# #
# OS packages # OS packages
# #
{{ role_name }}_debian_pkgs: [] {{ my_role_name }}_debian_pkgs: []
{{ role_name }}_redhat_pkgs: [] {{ my_role_name }}_redhat_pkgs: []
--- ---
{% include 'roles/ansible-role/templates/header.j2' %} {% include 'roles/ansible-role/templates/header.j2' %}
# #
# Role includes for role {{ role_name }} # Role includes for role {{ my_role_name }}
# #
# Example: # Example:
# #
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
{% include 'roles/ansible-role/templates/header.j2' %} {% include 'roles/ansible-role/templates/header.j2' %}
# #
# Tasks for role {{ role_name }} # Tasks for role {{ my_role_name }}
# #
# Overview: # Overview:
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment