{"id":16709662,"url":"https://github.com/mrlesmithjr/ansible-docker","last_synced_at":"2025-09-11T02:33:20.110Z","repository":{"id":46814549,"uuid":"48207940","full_name":"mrlesmithjr/ansible-docker","owner":"mrlesmithjr","description":"Enter description of Ansible role","archived":false,"fork":false,"pushed_at":"2025-04-27T15:42:35.000Z","size":105,"stargazers_count":15,"open_issues_count":0,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-27T16:32:07.769Z","etag":null,"topics":["ansible","ansible-role"],"latest_commit_sha":null,"homepage":null,"language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrlesmithjr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-18T01:40:02.000Z","updated_at":"2025-04-27T15:42:41.000Z","dependencies_parsed_at":"2025-04-10T05:34:53.318Z","dependency_job_id":"76f00632-1096-4712-8823-36641ef35b6e","html_url":"https://github.com/mrlesmithjr/ansible-docker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mrlesmithjr/ansible-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fansible-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fansible-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fansible-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fansible-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrlesmithjr","download_url":"https://codeload.github.com/mrlesmithjr/ansible-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fansible-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261352284,"owners_count":23146024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role"],"created_at":"2024-10-12T20:05:35.519Z","updated_at":"2025-09-11T02:33:20.105Z","avatar_url":"https://github.com/mrlesmithjr.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-docker\n\nAnsible role to install/configure Docker\n\n## Build Status\n\n### GitHub Actions\n\n[![Molecule Test](../../actions/workflows/test-molecule.yml/badge.svg)](../../actions/workflows/test-molecule.yml)\n\n## Requirements\n\nFor any required Ansible roles, review:\n[requirements.yml](requirements.yml)\n\n## Role Variables\n\n[defaults/main.yml](defaults/main.yml)\n\n## Dependencies\n\n## Example Playbook\n\n[playbook.yml](playbook.yml)\n\n## License\n\nMIT\n\n## Author Information\n\nLarry Smith Jr.\n\n- [@mrlesmithjr](https://twitter.com/mrlesmithjr)\n- [mrlesmithjr@gmail.com](mailto:mrlesmithjr@gmail.com)\n- [http://everythingshouldbevirtual.com](http://everythingshouldbevirtual.com)\n\n\u003e NOTE: Repo has been created/updated using [https://github.com/mrlesmithjr/cookiecutter-ansible-role](https://github.com/mrlesmithjr/cookiecutter-ansible-role) as a template.\n\n\n## Development flow\n\n### Install pipx for poetry\n\n```bash\npip install pipx\npipx ensurepath\npipx install poetry\npipx inject poetry poetry-plugin-export\n```\n\n### Create env by poetry\n\n```bash\n# auto find system python verison by [tool.poetry.dependencies]\npoetry env use\n# OR use pyenv to find the path to the python3.9 executable\npoetry env use $(pyenv which python3.9)\n```\n\n### Install dependencies\n\n```bash\n# auto update dependencies\npoetry install\n# OR restore completely dependencies\npoetry run pip install -r requirements.txt -r requirements-dev.txt\n```\n\n### Export pyproject.toml to requirements\n\nafter add some new dependencies\n\n```\npoetry update molecule\n```\n\n\n```bash\npoetry lock\npoetry export --without-hashes --output requirements.txt\npoetry export --without-hashes --only=dev --output requirements-dev.txt\n```\n\n### Fix linting errors\n\n```bash\nSKIP=no-commit-to-branch poetry run pre-commit run --all-files\n# OR use\npoetry run ansible-lint .\n```\n\n### Test molecule scenario\n\n```bash\nexport ANSIBLE_CONFIG=$(pwd)/molecule/ansible.old-galaxy.cfg\npoetry run molecule --debug -vvv test --scenario-name centos7\npoetry run molecule --debug -vvv test --scenario-name centos8\npoetry run molecule --debug -vvv test --scenario-name debian9\npoetry run molecule --debug -vvv test --scenario-name debian10\npoetry run molecule --debug -vvv test --scenario-name ubuntu1604\npoetry run molecule --debug -vvv test --scenario-name ubuntu1804\npoetry run molecule --debug -vvv test --scenario-name ubuntu2004\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlesmithjr%2Fansible-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrlesmithjr%2Fansible-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlesmithjr%2Fansible-docker/lists"}