Commit 772ac8ac by e0d

working template includes

parent ca509982
--- ---
{% include 'roles/ansible-role/templates/header.txt' %}
# #
# Tasks for role {{ role_name }} # Handlers for role {{ role_name }}
# #
# Overview: # Overview:
# #
# #
- name: {{ role_name }} | notify me
debug: msg="stub handler"
#
# This file was created by the edX ansible-role ansible role.
#
\ No newline at end of file
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
--- ---
{% include 'roles/ansible-role/templates/header.txt' %}
# #
# Tasks for role {{ role_name }} # Tasks for role {{ role_name }}
...@@ -15,3 +16,4 @@ ...@@ -15,3 +16,4 @@
- name: {{ role_name }} | stub ansible task - name: {{ role_name }} | stub ansible task
debug: msg="This is a stub task created by the ansible-role role" debug: msg="This is a stub task created by the ansible-role role"
notify: {{ role_name }} | notify me
\ No newline at end of file
--- ---
{% include 'roles/ansible-role/templates/header.txt' %}
# #
# Vars for role {{ role_name }} # Vars for role {{ role_name }}
# #
#
# vars are namespace with the module name.
#
{{ role_name }}_role_name: {{ role_name }} {{ role_name }}_role_name: {{ role_name }}
# #
......
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