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

24 lines
969 B
YAML
Raw Permalink Normal View History

---
galaxy_info:
author: {{ cookiecutter.author }}
namespace: {{ cookiecutter.namespace }}
2023-04-30 13:07:53 +02:00
{% 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 }}
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 %}