chore: Lint YML

This commit is contained in:
Laur Ivan 2023-01-12 13:54:14 +01:00
parent 8a3994cd38
commit 17ec2c4152
3 changed files with 6 additions and 8 deletions

View File

@ -4,6 +4,7 @@ extends: default
ignore: |
molecule/**/tests/
.venv
.github
.travis.yml

View File

@ -3,7 +3,7 @@
galaxy_info:
author: {{ cookiecutter.author }}
namespace: {{ cookiecutter.namespace }}
{% if cookiecutter.company != "" %}company: {{ cookiecutter.company }}{% endif %}
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 }}
@ -13,14 +13,12 @@ galaxy_info:
- {{ cookiecutter.galaxy_tag_1 }}
- {{ cookiecutter.galaxy_tag_2 }}
- {{ cookiecutter.galaxy_tag_3 }}
platforms:
{% if cookiecutter.platforms.debian_list %}
platforms:{% if cookiecutter.platforms.debian_list %}
- name: Debian
versions: {% for ver in cookiecutter.platforms.debian_list %}
versions:{% for ver in cookiecutter.platforms.debian_list %}
- {{ ver }}{% endfor %}
{% endif %}
{% if cookiecutter.platforms.ubuntu_list %}
{% endif %}{% if cookiecutter.platforms.ubuntu_list %}
- name: Ubuntu
versions: {% for ver in cookiecutter.platforms.ubuntu_list %}
- {{ ver }}{% endfor %}
{% endif %}
{% endif %}

View File

@ -35,4 +35,3 @@ provisioner:
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
verifier:
name: ansible