diff --git a/ansible-role-{{cookiecutter.app_name}}/.yamllint b/ansible-role-{{cookiecutter.app_name}}/.yamllint index dd13647..80f524b 100644 --- a/ansible-role-{{cookiecutter.app_name}}/.yamllint +++ b/ansible-role-{{cookiecutter.app_name}}/.yamllint @@ -4,6 +4,7 @@ extends: default ignore: | molecule/**/tests/ + .venv .github .travis.yml diff --git a/ansible-role-{{cookiecutter.app_name}}/meta/main.yml b/ansible-role-{{cookiecutter.app_name}}/meta/main.yml index 63053e4..0f7e634 100644 --- a/ansible-role-{{cookiecutter.app_name}}/meta/main.yml +++ b/ansible-role-{{cookiecutter.app_name}}/meta/main.yml @@ -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 %} \ No newline at end of file diff --git a/ansible-role-{{cookiecutter.app_name}}/molecule/default/molecule.yml b/ansible-role-{{cookiecutter.app_name}}/molecule/default/molecule.yml index bf44e69..e9de373 100644 --- a/ansible-role-{{cookiecutter.app_name}}/molecule/default/molecule.yml +++ b/ansible-role-{{cookiecutter.app_name}}/molecule/default/molecule.yml @@ -35,4 +35,3 @@ provisioner: converge: ${MOLECULE_PLAYBOOK:-converge.yml} verifier: name: ansible -