cookiecutter-ansible-role-d.../ansible-role-{{cookiecutter.app_name}}/meta/main.yml

24 lines
966 B
YAML
Raw Normal View History

---
galaxy_info:
author: {{ cookiecutter.author }}
namespace: {{ cookiecutter.namespace }}
2023-01-12 13:54:14 +01:00
company: {% if cookiecutter.company != "" %}{{ cookiecutter.company }}{% endif %}
role_name: {{ cookiecutter.app_name }}
description: {{ cookiecutter.app_name | replace('_',' ') | title }} Role
min_ansible_version: {{ cookiecutter.min_ansible_version }}
2023-01-11 21:29:59 +01:00
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 }}
2023-01-12 13:54:14 +01:00
platforms:{% if cookiecutter.platforms.debian_list %}
- name: Debian
2023-01-12 13:54:14 +01:00
versions:{% for ver in cookiecutter.platforms.debian_list %}
- {{ ver }}{% endfor %}
2023-01-12 13:54:14 +01:00
{% endif %}{% if cookiecutter.platforms.ubuntu_list %}
- name: Ubuntu
versions: {% for ver in cookiecutter.platforms.ubuntu_list %}
- {{ ver }}{% endfor %}
2023-01-12 13:54:14 +01:00
{% endif %}