{"id":30195519,"url":"https://github.com/jesmigel/ansible-role-common","last_synced_at":"2026-04-09T21:58:38.519Z","repository":{"id":294785280,"uuid":"380397133","full_name":"jesmigel/ansible-role-common","owner":"jesmigel","description":"Ansible role repo acting as base for a DevOps centric environment.","archived":false,"fork":false,"pushed_at":"2021-07-31T13:07:46.000Z","size":53225,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T03:34:02.781Z","etag":null,"topics":["ansible","ansible-playbook","ansible-role","devops","esxi","infrastructure","infrastructure-as-code","vagrant"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/jesmigel.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,"zenodo":null}},"created_at":"2021-06-26T02:31:48.000Z","updated_at":"2021-07-28T14:07:32.000Z","dependencies_parsed_at":"2025-05-22T03:44:15.265Z","dependency_job_id":null,"html_url":"https://github.com/jesmigel/ansible-role-common","commit_stats":null,"previous_names":["jesmigel/ansible-role-common"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jesmigel/ansible-role-common","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesmigel%2Fansible-role-common","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesmigel%2Fansible-role-common/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesmigel%2Fansible-role-common/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesmigel%2Fansible-role-common/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jesmigel","download_url":"https://codeload.github.com/jesmigel/ansible-role-common/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesmigel%2Fansible-role-common/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270182827,"owners_count":24541312,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-playbook","ansible-role","devops","esxi","infrastructure","infrastructure-as-code","vagrant"],"created_at":"2025-08-13T04:32:53.996Z","updated_at":"2026-04-09T21:58:33.498Z","avatar_url":"https://github.com/jesmigel.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-role-common\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![CI](https://github.com/jesmigel/ansible-role-common/actions/workflows/build.yaml/badge.svg?branch=main)](https://github.com/jesmigel/ansible-role-common/actions/workflows/build.yaml)\n\nAnsible common role. Ansible base role for building DevOps environments\n\n### Dependencies\n| Dependency | Comments |\n| - | - |\n| [Ansible](https://docs.ansible.com/) | Configuration management automation tool|\n| [ESXI (6.7u3)](https://my.vmware.com/en/group/vmware/evalcenter?p=free-esxi6) | Hypervisor |\n| [Python](https://www.python.org/downloads/) | Programming language required to run ansible |\n| [Vagrant](https://www.vagrantup.com/docs) | VM manager. Local dev/test environment |\n| [Virtualenv](https://docs.python.org/3/tutorial/venv.html) | Python environment isolation |\n|||\n\n\n### Make Commands\n| Command | Comments |\n| - | - |\n| address | Displays  image ipv4 addresses of the VM's identified by vagrant |\n| clean | Destroys the VM's and cleans the vagrant cache |\n| config | Validates the vagrant configuration |\n| down | Suspends the VM's |\n| lint | Exectutes ansible-lint that references yamllint |\n| login | SSH to the VM using the ssh-config referred to by vagrant |\n| provision | Executes the provisioner configured in the vagrant file |\n| status | Used to identify the health of the VM with respect to vagrant |\n| up | Creates or starts the VM(s) |\n| venv_init | initialises virtual env directory. Required by the provisioners |\n| ||\n\n### Preflieght Steps\n1. Copy the [sample.env.yaml](./sample.env.yaml) to `env.yaml` and populate the following fields\n    - `vm.datastore`: # datastore used by the target ESXi Host\n    - `host`: # ESXi host\n    - `user`: # ESXi user id\n    - `password`: # ESXi password\n    - `networks`: # Network in ESXi. It must be on the same subnet as the end user\n    - Optional\n        - `nameserver_list`: # List of custom nameservers.\n        - `nameserver_test`: # fqdn resolved by a DNS stated in `nameserver_list`\n\n### Tests\n- `Lint`: yamllint and ansible-lint. This is automated through Github Actions\n- `Functional`: Tested through Vagrant and ESXi. To be added in github actions\n\n### Usage\nThis repository is used as an ansible role. It can be referenced through a requirements.yaml file.\n```yaml\n# from github\n- src: https://github.com/jesmigel/ansible-role-common.git\n  name: common\n```\n\nThe role can be installed through the ansible-galaxy command:\n```bash\nansible-galaxy role install -r requirements.yaml -p $ROLE_DIRECTORY\n```\n\n### ToDo\n1. DevOps CI/CD test\n    - Jenkins\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesmigel%2Fansible-role-common","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesmigel%2Fansible-role-common","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesmigel%2Fansible-role-common/lists"}