chore: Updates and cleanups
- Update ansible lint version - Add default doc link - Support for 4.x molecule version
This commit is contained in:
parent
842d7c7826
commit
8adf037392
@ -6,8 +6,8 @@ galaxy_info:
|
|||||||
company: {% if cookiecutter.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 }}"
|
||||||
min_ansible_container_version: {{ cookiecutter.min_ansible_container_version }}
|
min_ansible_container_version: "{{ cookiecutter.min_ansible_container_version }}"
|
||||||
license: {{ cookiecutter.license }}
|
license: {{ cookiecutter.license }}
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- {{ cookiecutter.galaxy_tag_1 }}
|
- {{ cookiecutter.galaxy_tag_1 }}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"molecule_version": "4.0.4",
|
"molecule_version": "4.0.4",
|
||||||
"python_docker_version": "6.0.1",
|
"python_docker_version": "6.0.1",
|
||||||
"molecule_docker_version": "2.1.0",
|
"molecule_docker_version": "2.1.0",
|
||||||
"ansible_lint_version":"6.12.2",
|
"ansible_lint_version":"6.14.4",
|
||||||
"yamllint_version": "1.29.0",
|
"yamllint_version": "1.29.0",
|
||||||
"license":"MIT",
|
"license":"MIT",
|
||||||
"galaxy_tag_1":"tag1",
|
"galaxy_tag_1":"tag1",
|
||||||
@ -26,5 +26,5 @@
|
|||||||
"has_files":["True", "False"],
|
"has_files":["True", "False"],
|
||||||
"has_handlers":["True", "False"],
|
"has_handlers":["True", "False"],
|
||||||
"has_templates":["True", "False"],
|
"has_templates":["True", "False"],
|
||||||
"documentation_URL":""
|
"documentation_URL":"https://www.laurivan.com"
|
||||||
}
|
}
|
||||||
|
@ -12,8 +12,8 @@ def checkInput():
|
|||||||
print("Error: app_name should not have _role or -role at the end, try again without it")
|
print("Error: app_name should not have _role or -role at the end, try again without it")
|
||||||
print(" The name of the role will the value you introduce in app_name plus _role appended")
|
print(" The name of the role will the value you introduce in app_name plus _role appended")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
if not moleculeVersion.startswith("3"):
|
if not (moleculeVersion.startswith("3") or moleculeVersion.startswith("4")):
|
||||||
print("Error: Only supported molecule version 3.x.x, please change it and try again")
|
print("Error: Only supported molecule version 3.x.x or 4.x.x, please change it and try again")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
def configureRole():
|
def configureRole():
|
||||||
|
Loading…
Reference in New Issue
Block a user