Update ansible to v5.2.0 and ansible-lint to v5.3.2
This commit is contained in:
parent
b33689d3b5
commit
8ef54f7f0d
@ -46,10 +46,10 @@ github_user [idealista]:
|
|||||||
company [Idealista S.A.U.]:
|
company [Idealista S.A.U.]:
|
||||||
author []: pablogcaldito
|
author []: pablogcaldito
|
||||||
min_ansible_version []: 2.2
|
min_ansible_version []: 2.2
|
||||||
ansible_version []: 2.8.8
|
ansible_version []: 5.2.0
|
||||||
molecule_version []: 3.0.1
|
molecule_version []: 3.0.1
|
||||||
python_docker_version []: 4.1.0
|
python_docker_version []: 4.1.0
|
||||||
ansible_lint_version []: 4.2.0
|
ansible_lint_version []: 5.3.2
|
||||||
license [Apache 2.0]:
|
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
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
"company": "Idealista S.A.U.",
|
"company": "Idealista S.A.U.",
|
||||||
"author": "",
|
"author": "",
|
||||||
"min_ansible_version": "",
|
"min_ansible_version": "",
|
||||||
"ansible_version": "4.4.0",
|
"ansible_version": "5.2.0",
|
||||||
"molecule_version": "3.4.0",
|
"molecule_version": "3.4.0",
|
||||||
"python_docker_version": "5.0.0",
|
"python_docker_version": "5.0.0",
|
||||||
"molecule_docker_version": "0.2.4",
|
"molecule_docker_version": "0.2.4",
|
||||||
"ansible_lint_version":"5.1.2",
|
"ansible_lint_version":"5.3.2",
|
||||||
"license":"Apache 2.0",
|
"license":"Apache 2.0",
|
||||||
"galaxy_tag_1":"example_tag1",
|
"galaxy_tag_1":"example_tag1",
|
||||||
"galaxy_tag_2":"example_tag2",
|
"galaxy_tag_2":"example_tag2",
|
||||||
|
6
test.sh
6
test.sh
@ -8,11 +8,11 @@ printf "cookiecutter==1.7.2\nJinja2==2.11.2" > requirements.txt && pipenv instal
|
|||||||
exec_name="gh" \
|
exec_name="gh" \
|
||||||
author="John Doe" \
|
author="John Doe" \
|
||||||
min_ansible_version="2.2" \
|
min_ansible_version="2.2" \
|
||||||
ansible_version="4.4.0" \
|
ansible_version="5.2.0" \
|
||||||
molecule_version="3.4.0" \
|
molecule_version="3.4.0" \
|
||||||
python_docker_version="5.0.0" \
|
python_docker_version="5.0.0" \
|
||||||
molecule_docker_version="0.2.4" \
|
molecule_docker_version="0.2.4" \
|
||||||
ansible_lint_version="5.1.2" \
|
ansible_lint_version="5.3.2" \
|
||||||
has_service="False" \
|
has_service="False" \
|
||||||
has_files="False" \
|
has_files="False" \
|
||||||
has_handlers="False" \
|
has_handlers="False" \
|
||||||
@ -29,7 +29,7 @@ printf "cookiecutter==1.7.2\nJinja2==2.11.2" > requirements.txt && pipenv instal
|
|||||||
# Launch molecule tests
|
# Launch molecule tests
|
||||||
pipenv install -r test-requirements.txt --three
|
pipenv install -r test-requirements.txt --three
|
||||||
pipenv run molecule test
|
pipenv run molecule test
|
||||||
|
|
||||||
)
|
)
|
||||||
# Cleanup
|
# Cleanup
|
||||||
rm -rf github_cli_role
|
rm -rf github_cli_role
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
get_url:
|
get_url:
|
||||||
url: "{% raw %}{{{% endraw %} goss_url {% raw %}}}{% endraw %}"
|
url: "{% raw %}{{{% endraw %} goss_url {% raw %}}}{% endraw %}"
|
||||||
dest: "{% raw %}{{{% endraw %} goss_dst {% raw %}}}{% endraw %}"
|
dest: "{% raw %}{{{% endraw %} goss_dst {% raw %}}}{% endraw %}"
|
||||||
sha256sum: "{% raw %}{{{% endraw %} goss_sha256sum {% raw %}}}{% endraw %}"
|
checksum: "sha256{% raw %}:{{{% endraw %} goss_sha256sum {% raw %}}}{% endraw %}"
|
||||||
mode: 0755
|
mode: 0755
|
||||||
register: download_goss
|
register: download_goss
|
||||||
until: download_goss is succeeded
|
until: download_goss is succeeded
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
owner: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user {% raw %}}}{% endraw %}"
|
owner: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user {% raw %}}}{% endraw %}"
|
||||||
group: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_group {% raw %}}}{% endraw %}"
|
group: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_group {% raw %}}}{% endraw %}"
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
mode: 0755
|
||||||
state: directory
|
state: directory
|
||||||
with_items:
|
with_items:
|
||||||
- "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_skeleton_paths {% raw %}}}{% endraw %}"
|
- "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_skeleton_paths {% raw %}}}{% endraw %}"
|
||||||
@ -38,6 +39,7 @@
|
|||||||
owner: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user {% raw %}}}{% endraw %}"
|
owner: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user {% raw %}}}{% endraw %}"
|
||||||
group: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_group {% raw %}}}{% endraw %}"
|
group: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_group {% raw %}}}{% endraw %}"
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
mode: 0755
|
||||||
state: directory
|
state: directory
|
||||||
when: {{ cookiecutter.app_name }}_log_file is defined
|
when: {{ cookiecutter.app_name }}_log_file is defined
|
||||||
tags:
|
tags:
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: {{ cookiecutter.app_name | upper }} | Install
|
- name: {{ cookiecutter.app_name | upper }} | Install
|
||||||
include: install.yml
|
import_tasks: install.yml
|
||||||
tags:
|
tags:
|
||||||
- {{ cookiecutter.app_name }}_install
|
- {{ cookiecutter.app_name }}_install
|
||||||
|
|
||||||
- name: {{ cookiecutter.app_name | upper }} | Configure
|
- name: {{ cookiecutter.app_name | upper }} | Configure
|
||||||
include: config.yml
|
import_tasks: config.yml
|
||||||
tags:
|
tags:
|
||||||
- {{ cookiecutter.app_name }}_configure
|
- {{ cookiecutter.app_name }}_configure
|
||||||
{% if cookiecutter.has_service == 'True' %}
|
{% if cookiecutter.has_service == 'True' %}
|
||||||
- name: {{ cookiecutter.app_name | upper }} | Service
|
- name: {{ cookiecutter.app_name | upper }} | Service
|
||||||
include: service.yml
|
import_tasks: service.yml
|
||||||
tags:
|
tags:
|
||||||
- {{ cookiecutter.app_name }}_service
|
- {{ cookiecutter.app_name }}_service
|
||||||
{% endif %}
|
{% endif %}
|
Loading…
Reference in New Issue
Block a user