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

17 lines
461 B
YAML
Raw Normal View History

2020-04-28 13:23:10 +02:00
---
- name: {{ cookiecutter.app_name | upper }} | Install
import_tasks: install.yml
2020-04-28 13:23:10 +02:00
tags:
- {{ cookiecutter.app_name }}_install
- name: {{ cookiecutter.app_name | upper }} | Configure
import_tasks: config.yml
2020-04-28 13:23:10 +02:00
tags:
- {{ cookiecutter.app_name }}_configure
{% if cookiecutter.has_service == 'True' %}
- name: {{ cookiecutter.app_name | upper }} | Service
import_tasks: service.yml
2020-04-28 13:23:10 +02:00
tags:
- {{ cookiecutter.app_name }}_service
{% endif %}