{"id":19657808,"url":"https://github.com/gdatasoftwareag/ansiblemoleculeworkshop-lessons","last_synced_at":"2025-06-26T09:10:32.515Z","repository":{"id":89432411,"uuid":"249474943","full_name":"GDATASoftwareAG/AnsibleMoleculeWorkshop-Lessons","owner":"GDATASoftwareAG","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-30T22:06:02.000Z","size":52,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-05T10:33:26.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GDATASoftwareAG.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2020-03-23T15:51:15.000Z","updated_at":"2025-03-24T07:59:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"2913b66e-699c-4a01-b915-61dc60f8d6aa","html_url":"https://github.com/GDATASoftwareAG/AnsibleMoleculeWorkshop-Lessons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GDATASoftwareAG%2FAnsibleMoleculeWorkshop-Lessons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GDATASoftwareAG%2FAnsibleMoleculeWorkshop-Lessons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GDATASoftwareAG%2FAnsibleMoleculeWorkshop-Lessons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GDATASoftwareAG%2FAnsibleMoleculeWorkshop-Lessons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GDATASoftwareAG","download_url":"https://codeload.github.com/GDATASoftwareAG/AnsibleMoleculeWorkshop-Lessons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251375527,"owners_count":21579462,"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":[],"created_at":"2024-11-11T15:33:45.953Z","updated_at":"2025-04-28T19:32:29.518Z","avatar_url":"https://github.com/GDATASoftwareAG.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Molecule workshop lessons\n\nHere you find the lessons where we start the parts of our workshops from.\n\nMost of the lessons are also the target of their previous lessons.\n\nPlease start with a new folder for every lesson. Don't begin to work in the lessons folders.\n\n* [Lesson 1](./LESSON1.md)\n* [Lesson 2](./LESSON2.md)\n* [Lesson 3](./LESSON3.md)\n* [Lesson 4](./LESSON4.md)\n* [Lesson 5](./LESSON5.md)\n\n## Versions\n\nThis workshop was created with\n\n* Python: 3.8.1\n* Ansible: 2.9.4\n* Molecule: 3.0.2\n\n## Links\n\n* [molecule documentation](https://molecule.readthedocs.io/en/latest/)\n* [molecule github](https://github.com/ansible-community/molecule)\n* [molecule docker](https://quay.io/repository/ansible/molecule)\n* [testinfra documentation](https://testinfra.readthedocs.io/en/latest/)\n\n## Running Molecule within a role with the latest image\n\nIMPORTANT: If you want to run these tests locally your docker engine must use the storage-engine aufs\n\nJust create or edit the config file /etc/docker/daemon.json with content\n\n```json3.8.1\n  \"storage-driver\": \"aufs\"\n}\n```\n\nthen run in a role directory\n\n```bash\ndocker run \\\n  -v /var/run/docker.sock:/var/run/docker.sock \\\n  -v $(pwd):$(pwd) -w $(pwd) \\\n  --user root \\\n  quay.io/ansible/molecule:3.0.2 \\\n  /bin/sh -c \"pip3 install testinfra; molecule test -s default\"\n```\n\n## you want to give us your power for the workshop\n\n```bash\ndocker run -d --rm --name gitlab-runner \\\n  -v /var/run/docker.sock:/var/run/docker.sock \\\n  -v /home/gitlab-runner:/home/gitlab-runner \\\n  -v /buiilds:/builds \\\n  --privileged \\\n  gitlab/gitlab-runner:latest\n```\n\n```bash\ndocker exec -it gitlab-runner /bin/bash\n```\n\n```bash\ngitlab-runner register -n \\\n  --url https://gitlab.com/ \\\n  --registration-token GZqpz8aRxUqiY3FsNqAz \\\n  --executor docker --description \"MYRUNNERNAME\" \\\n  --docker-image \"docker:19.03.1\" \\\n  --docker-volumes /var/run/docker.sock:/var/run/docker.sock \\\n  --docker-volumes /home/gitlab-runner:/home/gitlab-runner \\\n  --docker-volumes /builds:/builds --tag-list molecule-workshop\n```\n\nThis registeres a gitlab-runner on your local machine that can be used in the workshop. This is for careful use and should be killed after the workshop.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdatasoftwareag%2Fansiblemoleculeworkshop-lessons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgdatasoftwareag%2Fansiblemoleculeworkshop-lessons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdatasoftwareag%2Fansiblemoleculeworkshop-lessons/lists"}