{"id":14984544,"url":"https://github.com/lean-delivery/ansible-development-kit","last_synced_at":"2025-04-10T21:20:27.091Z","repository":{"id":96540271,"uuid":"145468185","full_name":"lean-delivery/ansible-development-kit","owner":"lean-delivery","description":"Ansible Development Kit (roles development)","archived":false,"fork":false,"pushed_at":"2021-02-01T14:11:08.000Z","size":130,"stargazers_count":31,"open_issues_count":2,"forks_count":15,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-24T18:49:36.054Z","etag":null,"topics":["ansible","ansible-roles","cookiecutter","development-kit","molecule"],"latest_commit_sha":null,"homepage":"https://lean-delivery.com/ansible-development-kit","language":null,"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/lean-delivery.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2018-08-20T20:38:58.000Z","updated_at":"2023-08-25T11:14:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"7cbe012a-6a52-43ed-91c8-f4a3f95a1ede","html_url":"https://github.com/lean-delivery/ansible-development-kit","commit_stats":{"total_commits":122,"total_committers":16,"mean_commits":7.625,"dds":0.4508196721311475,"last_synced_commit":"4476330356aad88e98b2072089d1fccaff525c6c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lean-delivery%2Fansible-development-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lean-delivery%2Fansible-development-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lean-delivery%2Fansible-development-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lean-delivery%2Fansible-development-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lean-delivery","download_url":"https://codeload.github.com/lean-delivery/ansible-development-kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298785,"owners_count":21080402,"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","cookiecutter","development-kit","molecule"],"created_at":"2024-09-24T14:09:14.814Z","updated_at":"2025-04-10T21:20:27.072Z","avatar_url":"https://github.com/lean-delivery.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"ansible-development-kit\n=========\n[![License](https://img.shields.io/badge/license-Apache-green.svg?style=flat)](https://raw.githubusercontent.com/lean-delivery/ansible-development-kit/master/LICENSE)\n[![Build Status](https://travis-ci.org/lean-delivery/ansible-development-kit.svg?branch=master)](https://travis-ci.org/lean-delivery/ansible-development-kit)\n[![Build Status](https://gitlab.com/lean-delivery/ansible-development-kit/badges/master/build.svg)](https://gitlab.com/lean-delivery/ansible-development-kit/pipelines)\n\n## How to use:\n\npip install cookiecutter\n\n### Create a new role\n\n- cookiecutter https://github.com/lean-delivery/ansible-development-kit\n\nor\n\n- molecule init template --url https://github.com/lean-delivery/ansible-development-kit\n\nEnter for the role name question a value without the ansible-role- prefix, e.g. example.\n\nMake changes in the corresponding files: copyright section in LICENSE, badge section in README.md\n(you can get galaxy's role id by running: `ansible-galaxy info lean_delivery.example |grep '\\bid'`), etc.\n\n### Update an existing role\n\n1. cd ansible-role-example\n2. cookiecutter https://github.com/lean-delivery/ansible-development-kit --output-dir .. --overwrite-if-exists\n3. git status\n4. git add . -p\n\n```\nUseful commands:\n- y - add this hunk to commit\n- n - do not add this hunk to commit\n- d - do not add this hunk or any of the later hunks in this file\n- s - split the current hunk into smaller hunks\n- e - manually edit the hunk\n```\n\n5. git commit -m \"Updated by cookiecutter and ansible-development-kit\"\n\nIn order not to provide the same answers for cookecutter's questions it makes sense to put in the role's directory a config file `.cookiecutter.yml` like this:\n\n```yaml\n---\ndefault_context:\n  role_name: example\n```\n\nTo switch betweens Linux and Windows molecule tests add this variables to `.cookiecutter.yml`:\n```yaml\n---\ndefault_context:\n  role_name: example\n  linux_tests: \"true\"\n  windows_tests: \"false\"\n```\n\nTo increase root volume size for Linux and Windows platforms in AWS add this variables to `.cookiecutter.yml`:\n```yaml\n---\ndefault_context:\n  role_name: example\n  customize_vol_size_linux: \"true\"\n  volume_size_linux: 10\n  customize_vol_size_windows: \"true\"\n  volume_size_windows: 32\n```\n\nand run cookiecutter the following way:\n\ncookiecutter https://github.com/lean-delivery/ansible-development-kit --output-dir .. --overwrite-if-exists --config-file .cookiecutter.yml --no-input\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flean-delivery%2Fansible-development-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flean-delivery%2Fansible-development-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flean-delivery%2Fansible-development-kit/lists"}