Merge pull request #17 from idealista/features/16

features/16
This commit is contained in:
Pablo Gómez-Caldito Gómez 2020-10-06 13:56:19 +02:00 committed by GitHub
commit 386caa84d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 9 deletions

View File

@ -9,7 +9,6 @@ install:
- pip3 install cookiecutter - pip3 install cookiecutter
env: env:
jobs: jobs:
- MOLECULE_DISTRO=debian:jessie-slim
- MOLECULE_DISTRO=debian:stretch-slim - MOLECULE_DISTRO=debian:stretch-slim
- MOLECULE_DISTRO=debian:buster-slim - MOLECULE_DISTRO=debian:buster-slim

View File

@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog). This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog).
## Unreleased ## Unreleased
### Removed
- *[#16](https://github.com/idealista/cookiecutter-ansible-role/issues/16) Remove debian jessie support* @pablogcaldito
### Added ### Added
- * Add boilerplate README.md* @vicsufer - * Add boilerplate README.md* @vicsufer

View File

@ -56,10 +56,6 @@ license [Apache 2.0]:
galaxy_tag_1 [example_tag1]: github_cli galaxy_tag_1 [example_tag1]: github_cli
galaxy_tag_2 [example_tag2]: github galaxy_tag_2 [example_tag2]: github
galaxy_tag_3 [example_tag3]: cli galaxy_tag_3 [example_tag3]: cli
Select debian_jessie_support:
1 - True
2 - False
Choose from 1, 2 [1]:
Select debian_stretch_support: Select debian_stretch_support:
1 - True 1 - True
2 - False 2 - False

View File

@ -15,7 +15,6 @@
"galaxy_tag_1":"example_tag1", "galaxy_tag_1":"example_tag1",
"galaxy_tag_2":"example_tag2", "galaxy_tag_2":"example_tag2",
"galaxy_tag_3":"example_tag3", "galaxy_tag_3":"example_tag3",
"debian_jessie_support":["True", "False"],
"debian_stretch_support":["True", "False"], "debian_stretch_support":["True", "False"],
"debian_buster_support":["True", "False"], "debian_buster_support":["True", "False"],
"has_service":["True", "False"], "has_service":["True", "False"],

View File

@ -6,7 +6,9 @@
This ansible role installs [{{ cookiecutter.app_name | replace('_',' ') | title }}](APP_URL_HERE) in a Debian environment. It has been tested for Debian buster and stretch. This ansible role installs [{{ cookiecutter.app_name | replace('_',' ') | title }}](APP_URL_HERE) in a Debian environment. It has been tested for the following Debian versions:
{% if cookiecutter.debian_stretch_support == 'True' %}* Stretch{% endif %}
{% if cookiecutter.debian_buster_support == 'True' %}* Buster{% endif %}
This role has been generated using the [cookiecutter](https://github.com/cookiecutter/cookiecutter) tool, you can generate a similar role that fits your needs using the this [cookiecutter template](https://github.com/idealista/cookiecutter-ansible-role). This role has been generated using the [cookiecutter](https://github.com/cookiecutter/cookiecutter) tool, you can generate a similar role that fits your needs using the this [cookiecutter template](https://github.com/idealista/cookiecutter-ansible-role).

View File

@ -13,6 +13,5 @@ galaxy_info:
platforms: platforms:
- name: Debian - name: Debian
versions: versions:
{% if cookiecutter.debian_jessie_support == 'True' %}- jessie{% endif %}
{% if cookiecutter.debian_stretch_support == 'True' %}- stretch{% endif %} {% if cookiecutter.debian_stretch_support == 'True' %}- stretch{% endif %}
{% if cookiecutter.debian_buster_support == 'True' %}- buster{% endif %} {% if cookiecutter.debian_buster_support == 'True' %}- buster{% endif %}

View File

@ -10,7 +10,6 @@ install:
- pipenv sync - pipenv sync
env: env:
jobs: jobs:
{% if cookiecutter.debian_jessie_support == 'True' %}- MOLECULE_DISTRO=debian:jessie-slim{% endif %}
{% if cookiecutter.debian_stretch_support == 'True' %}- MOLECULE_DISTRO=debian:stretch-slim{% endif %} {% if cookiecutter.debian_stretch_support == 'True' %}- MOLECULE_DISTRO=debian:stretch-slim{% endif %}
{% if cookiecutter.debian_buster_support == 'True' %}- MOLECULE_DISTRO=debian:buster-slim{% endif %} {% if cookiecutter.debian_buster_support == 'True' %}- MOLECULE_DISTRO=debian:buster-slim{% endif %}
script: script: