Browse Source

[FIX] learnings

master
Justin Lecher 2 months ago
parent
commit
5f73328773
  1. 1
      Pipfile
  2. 4
      Pipfile.lock
  3. 2
      cookiecutter.json
  4. 6
      {{ cookiecutter.role_name }}/molecule/default/molecule.yml

1
Pipfile

@ -6,7 +6,6 @@ verify_ssl = true
[dev-packages]
bumpversion = "*"
black = "*"
cookiecutter = "*"
PyYAML = "*"
pytest = "*"
pytest-cookies = "*"

4
Pipfile.lock

@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "7f8e0b65a7c6fde8f706d06d1298513ee874c8f0925805909383add91d4dc7c6"
"sha256": "178753b74593d7161439f9c268be6d4f1d03e4936043e8c9d9d7a15054c91d79"
},
"pipfile-spec": 6,
"requires": {
@ -97,7 +97,7 @@
"sha256:430eb882d028afb6102c084bab6cf41f6559a77ce9b18dc6802e3bc0cc5f4a30",
"sha256:efb6b2d4780feda8908a873e38f0e61778c23f6a2ea58215723bcceb5b515dac"
],
"index": "pypi",
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'",
"version": "==1.7.2"
},
"idna": {

2
cookiecutter.json

@ -4,5 +4,5 @@
"ansible_namespace": "john_d",
"ansible_collection": "collection_name",
"role_name": "ansible_role",
"role_short_description": "Ansible Skeleton for either ansible roles"
"role_short_description": "Skeleton for ansible roles"
}

6
{{ cookiecutter.role_name }}/molecule/default/molecule.yml

@ -4,7 +4,7 @@ dependency:
driver:
name: docker
platforms:
- name: ansible-role-hostname-centos
- name: ansible-{{ cookiecutter.ansible_namespace }}.{{ cookiecutter.ansible_collection }}.{{ cookiecutter.role_name }}-centos
image: geerlingguy/docker-centos7-ansible
command: "/lib/systemd/systemd"
tmpfs:
@ -16,7 +16,7 @@ platforms:
- SYS_ADMIN
pre_build_image: true
privileged: true
- name: ansible-role-hostname-debian
- name: ansible-{{ cookiecutter.ansible_namespace }}.{{ cookiecutter.ansible_collection }}.{{ cookiecutter.role_name }}-debian
image: geerlingguy/docker-debian10-ansible
command: "/lib/systemd/systemd"
tmpfs:
@ -28,7 +28,7 @@ platforms:
- SYS_ADMIN
pre_build_image: true
privileged: true
- name: ansible-role-hostname-ubuntu
- name: ansible-{{ cookiecutter.ansible_namespace }}.{{ cookiecutter.ansible_collection }}.{{ cookiecutter.role_name }}-ubuntu
image: geerlingguy/docker-ubuntu2004-ansible
command: "/lib/systemd/systemd"
tmpfs:

Loading…
Cancel
Save