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: | ignore: |
molecule/**/tests/ molecule/**/tests/
.venv
.github .github
.travis.yml .travis.yml

View File

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

View File

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