{"id":18597741,"url":"https://github.com/aem-design/aemdesign-ansible-roles","last_synced_at":"2026-01-31T06:33:55.282Z","repository":{"id":80556343,"uuid":"199240781","full_name":"aem-design/aemdesign-ansible-roles","owner":"aem-design","description":"parent project for all ansible roles","archived":false,"fork":false,"pushed_at":"2024-10-17T16:22:45.000Z","size":150,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-30T23:12:30.368Z","etag":null,"topics":["ansible","ansible-roles","best-practices","devops","molecule-test"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/search?keywords=aem.design","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aem-design.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"patreon":"maxbarrass","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-07-28T04:11:56.000Z","updated_at":"2022-09-11T09:11:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"d30d7a78-73a5-446f-99d8-22fdd605cf94","html_url":"https://github.com/aem-design/aemdesign-ansible-roles","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Faemdesign-ansible-roles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Faemdesign-ansible-roles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Faemdesign-ansible-roles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Faemdesign-ansible-roles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aem-design","download_url":"https://codeload.github.com/aem-design/aemdesign-ansible-roles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252567872,"owners_count":21769321,"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-roles","best-practices","devops","molecule-test"],"created_at":"2024-11-07T01:29:15.839Z","updated_at":"2026-01-31T06:33:55.260Z","avatar_url":"https://github.com/aem-design.png","language":"Shell","funding_links":["https://patreon.com/maxbarrass"],"categories":[],"sub_categories":[],"readme":"# AEM.Design - Ansible Roles\n\n[![build_status](https://travis-ci.org/aem-design/aemdesign-ansible-roles.svg?branch=master)](https://travis-ci.org/aem-design/aemdesign-ansible-roles) \n[![github license](https://img.shields.io/github/license/aem-design/aemdesign-ansible-roles)](https://github.com/aem-design/aemdesign-ansible-roles) \n[![github issues](https://img.shields.io/github/issues/aem-design/aemdesign-ansible-roles)](https://github.com/aem-design/aemdesign-ansible-roles) \n[![github last commit](https://img.shields.io/github/last-commit/aem-design/aemdesign-ansible-roles)](https://github.com/aem-design/aemdesign-ansible-roles) \n[![github repo size](https://img.shields.io/github/repo-size/aem-design/aemdesign-ansible-roles)](https://github.com/aem-design/aemdesign-ansible-roles) \n\n\nThis repo aimed at testing Ansible Galaxy roles locally before publishing to Ansible Galaxy\n\n## Cloning\n\nThis repo links all roles using git submodules. When cloning this repo you need to use the `--recursive` flag to tell git to pull all the submodules.\n\n`git clone --recursive git@github.com:aem-design/aemdesign-ansible-roles.git`\n\n## Migrating old module to Molecule v2\n\n0. Before you start please read these \n    - [Testing Ansible automation with molecule](https://redhatnordicssa.github.io/how-we-test-our-roles)\n    - [Moelcule Configuration](https://molecule.readthedocs.io/en/stable/configuration.html#) \n\n1. Create a new repo with README in github\n\n2. add new repo as submodule to the project\n\n```bash\ngit submodule add git@github.com:aem-design/ansible-role-aem-toughday.git roles/ansible-role-aem-toughday\n```\n\n3. Use molecule to init the new module\n\n```\ncd roles/tmp\nworkon aemdesign.3.7.4\npip install molecule\nmolecule init role -r ansible-role-aem-toughday\n```\n\n4. Update role config in temp folder\n\n5. Run `molecule converge` while you are developing the role\n\n```\nmolecule converge\n\u003cdo some work on the role\u003e\nmolecule converge\n\u003csee that some changes didn't work\u003e\nmolecule lint\n\u003cfix all the typos\u003e\nmolecule converge\n\u003csee everything working well, commit my changes\u003e\nmolecule test\n\u003csee everything working well, commit my changes\u003e\nmolecule converge\n\u003cidempotence check - make sure Ansible doesn't report any changes on a second run\u003e\nmolecule destroy\n```\n\n6. Manually move updated molecule config into the sumbodule and commit \n\n7. Run `molecule test` to full process works, if it does not don't bother committing.\n\nSub folder with your new role will be created.\n\n## Testing\n\nTo run molecule tests enter role directory, switch to virtual env and run molecule test\n\n```bash\ncd roles/ansible-role-aem-verify\nworkon aemdesign.3.7.2\nmolecule test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faem-design%2Faemdesign-ansible-roles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faem-design%2Faemdesign-ansible-roles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faem-design%2Faemdesign-ansible-roles/lists"}