{"id":19402164,"url":"https://github.com/robertdebock/ansible-development-environment","last_synced_at":"2025-02-24T23:44:48.501Z","repository":{"id":44330811,"uuid":"163958479","full_name":"robertdebock/ansible-development-environment","owner":"robertdebock","description":"Setup a machine to develop Ansible roles, including all the easy to work with tools, ansible, ansible-lint, molecule, travis and ara.","archived":false,"fork":false,"pushed_at":"2024-12-13T09:17:28.000Z","size":782,"stargazers_count":47,"open_issues_count":7,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-16T10:28:49.426Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jinja","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/robertdebock.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":"2019-01-03T10:29:59.000Z","updated_at":"2024-12-13T09:17:32.000Z","dependencies_parsed_at":"2024-02-02T13:54:32.752Z","dependency_job_id":"d5384ed9-31e6-42be-ae26-7050123dba30","html_url":"https://github.com/robertdebock/ansible-development-environment","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/robertdebock%2Fansible-development-environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fansible-development-environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fansible-development-environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fansible-development-environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertdebock","download_url":"https://codeload.github.com/robertdebock/ansible-development-environment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240576486,"owners_count":19823293,"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-10T11:22:15.884Z","updated_at":"2025-02-24T23:44:48.481Z","avatar_url":"https://github.com/robertdebock.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible development environment\n\nSetup a machine to write Ansible roles. Includes:\n- [ansible](https://github.com/ansible)\n- [ansible-lint](https://github.com/ansible/ansible-lint)\n- [molecule](https://molecule.readthedocs.io/en/latest/)\n- [travis (cli)](https://github.com/travis-ci/travis.rb)\n- [ara](https://github.com/openstack/ara)\n\n## Download\n\n```\nansible-galaxy collection install robertdebock.development_environment\n```\n\n## Requirements\n\n- One machine\n- About 4GB or RAM will do.\n- 2 CPUs, 1 will also do.\n- Personalized `inventory/group_vars/all.yml`.\n\n## Mac / Linux\n\nVagrant requires a different file for `Virtualbox` (typically Mac OS X) and `libvirt` (typically Linux).\n\nFor Virtualbox / Mac OS X:\n\n```sh\nrm Vagrantfile\nln -s Vagrantfile.virtualbox Vagrantfile\n```\n\nFor libvirt / Linux:\n\n\n```sh\nrm Vagrantfile\nln -s Vagrantfile.libvirt Vagrantfile\n```\n\nNow change a few files:\n\n- `files/gitconfig` should contain your details.\n- `files/id_rsa` should contain an ssh-key used to commit to GitHub.\n- `inventory/hosts` should contain your machine.\n- `inventory/group_vars/all.yml` should contain your details.\n\n## Install\n\nSimply run `./playbook.yml`. Preparing your system will take about 15 minutes or so.\n\n## Code\n\nYou are now ready to code! Have fun using these commands:\n\n```sh\n# See if your code meets all rules.\nansible-lint .\n# Test all scenarios.\nmolecule test\n# Test a specific scenario.\nmolecule test --scenario-name fedora-latest\n```\n\nYou can see the playbook runs on https://localhost:9191/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertdebock%2Fansible-development-environment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertdebock%2Fansible-development-environment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertdebock%2Fansible-development-environment/lists"}