{"id":19110052,"url":"https://github.com/coopdevs/ansible-role-template","last_synced_at":"2025-07-20T07:04:58.716Z","repository":{"id":59427913,"uuid":"537236546","full_name":"coopdevs/ansible-role-template","owner":"coopdevs","description":"Template for bootstraping ansible roles","archived":false,"fork":false,"pushed_at":"2023-12-20T17:42:47.000Z","size":112,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-08T18:12:20.482Z","etag":null,"topics":["ansible","ansible-role","template"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coopdevs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2022-09-15T23:20:38.000Z","updated_at":"2025-01-31T14:05:19.000Z","dependencies_parsed_at":"2023-02-01T02:30:48.802Z","dependency_job_id":"6f98e4e2-9d05-499e-abcc-d9be7a1ba2af","html_url":"https://github.com/coopdevs/ansible-role-template","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/coopdevs/ansible-role-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Fansible-role-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Fansible-role-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Fansible-role-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Fansible-role-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coopdevs","download_url":"https://codeload.github.com/coopdevs/ansible-role-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Fansible-role-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266081239,"owners_count":23873511,"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","template"],"created_at":"2024-11-09T04:23:25.453Z","updated_at":"2025-07-20T07:04:58.656Z","avatar_url":"https://github.com/coopdevs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Using this template\n\nThis template is a starting point for creating a new repository for Ansible roles.  You must complete the following steps:\n\n- [ ] Click on button `Use this template` to create a new repository.\n- [ ] Clone it to your computer and follow [CONTRIBUTING.md](CONTRIBUTING.md) instructions to setup the developing enviroment.\n- [ ] Update the `README.md` file to describe the role.\n- [ ] Update the `meta/main.yml` with proper metadata about the role.\n- [ ] Update the `defaults/main.yml` file to set the default values for the role.\n- [ ] Update the `tasks/main.yml` file to implement the role.\n- [ ] Update the `vars/main.yml` file to set the variables for the role.\n- [ ] Add template files to the `templates` directory\n- [ ] Add needed files to the `files` directory\n- [ ] If needed, define handlers in the `handlers/main.yml` file\n- [ ] Delete all unused files\n\n## Contents\n\nThis template contains the following items:\n\n- An Ansible role skeleton generated by `ansible-galaxy init`.\n- Pre-filled `CONTRIBUTING.md` with instructions to set-up the development environment.\n- Pre-commit configuration to check the code before commiting.\n- `requirements.txt` file to include test dependencies.\n- Github actions to check the role with `ansible-lint` and `yamllint`.\n- Dependabot configuration to keep the dependencies up-to-date.\n- A [LICENSE](LICENSE) file.\n\n---\n\nRole Name\n=========\n\nA brief description of the role goes here.\n\nRequirements\n------------\n\nAny pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.\n\nRole Variables\n--------------\n\nA description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.\n\nDependencies\n------------\n\nA list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.\n\nExample Playbook\n----------------\n\nIncluding an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:\n\n```bash\nansible-playbook tests/test.yml -i tests/inventory --extra-vars '{\"var\":\"value\"}'\n```\n\nLicense\n-------\n\nGPLv3\n\nAuthor Information\n------------------\n\n[Coopdevs](https://coopdevs.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoopdevs%2Fansible-role-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoopdevs%2Fansible-role-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoopdevs%2Fansible-role-template/lists"}