cookiecutter-ansible-role/{{cookiecutter.app_name}}_role/tasks/main.yml
Pablo Gómez-Caldito 0cde8c32d9 first commit
2020-04-28 13:23:10 +02:00

17 lines
446 B
YAML

---
- name: {{ cookiecutter.app_name | upper }} | Install
include: install.yml
tags:
- {{ cookiecutter.app_name }}_install
- name: {{ cookiecutter.app_name | upper }} | Configure
include: config.yml
tags:
- {{ cookiecutter.app_name }}_configure
{% if cookiecutter.has_service == 'True' %}
- name: {{ cookiecutter.app_name | upper }} | Service
include: service.yml
tags:
- {{ cookiecutter.app_name }}_service
{% endif %}