cookiecutter-ansible-role/{{cookiecutter.app_name}}_role/tasks/main.yml

17 lines
446 B
YAML
Raw Normal View History

2020-04-28 13:23:10 +02:00
---
- 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 %}