Commit 2c4eebfd by Arbab Nazar Committed by GitHub

Merge pull request #3132 from tkeemon/tkeemon/ansible-role-var-fix

update ansible-role templates to use correct variable
parents 031f7ab9 f6424cb6
---
{% 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.
#
{{ role_name }}_role_name: {{ role_name }}
{{ my_role_name }}_role_name: {{ my_role_name }}
#
# 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' %}
#
# Role includes for role {{ role_name }}
# Role includes for role {{ my_role_name }}
#
# Example:
#
......
......@@ -2,7 +2,7 @@
{% include 'roles/ansible-role/templates/header.j2' %}
#
# Tasks for role {{ role_name }}
# Tasks for role {{ my_role_name }}
#
# 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