cookiecutter-ansible-role-d.../ansible-role-{{cookiecutter.app_name}}/meta/main.yml
Laur Ivan bda1f187c5 feat: Better default configuration.
Add multiple files copy via variables.
Add service skeleton.
Add image and port versions.
2023-04-27 22:05:41 +02:00

24 lines
969 B
YAML

---
galaxy_info:
author: {{ cookiecutter.author }}
namespace: {{ cookiecutter.namespace }}
{% if cookiecutter.company != "" %}company: {{ cookiecutter.company }}{% endif %}
role_name: {{ cookiecutter.app_name }}
description: {{ cookiecutter.app_name | replace('_',' ') | title }} Role
min_ansible_version: "{{ cookiecutter.min_ansible_version }}"
min_ansible_container_version: "{{ cookiecutter.min_ansible_container_version }}"
license: {{ cookiecutter.license }}
galaxy_tags:
- {{ cookiecutter.galaxy_tag_1 }}
- {{ cookiecutter.galaxy_tag_2 }}
- {{ cookiecutter.galaxy_tag_3 }}
platforms:{% if cookiecutter.platforms.debian_list %}
- name: Debian
versions:{% for ver in cookiecutter.platforms.debian_list %}
- {{ ver }}{% endfor %}
{% endif %}{% if cookiecutter.platforms.ubuntu_list %}
- name: Ubuntu
versions:{% for ver in cookiecutter.platforms.ubuntu_list %}
- {{ ver }}{% endfor %}
{% endif %}