{"id":28306361,"url":"https://github.com/gurram2001/devops_tools","last_synced_at":"2026-04-06T08:01:31.593Z","repository":{"id":293789769,"uuid":"985124955","full_name":"Gurram2001/devops_tools","owner":"Gurram2001","description":"This is Ansible role to automate the installation of Docker and essential DevOps tools like Docker Compose, kubectl, Helm, and Terraform.","archived":false,"fork":false,"pushed_at":"2025-05-17T06:27:35.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T15:46:20.842Z","etag":null,"topics":["ansible","ansible-role","ansible-roles","automation","helm","infrastructure-as-code","kubernetes","terraform"],"latest_commit_sha":null,"homepage":"","language":null,"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/Gurram2001.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,"zenodo":null}},"created_at":"2025-05-17T05:42:25.000Z","updated_at":"2025-05-26T13:10:38.000Z","dependencies_parsed_at":"2025-05-17T07:28:28.337Z","dependency_job_id":null,"html_url":"https://github.com/Gurram2001/devops_tools","commit_stats":null,"previous_names":["gurram2001/ansible-role-devops"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Gurram2001/devops_tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurram2001%2Fdevops_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurram2001%2Fdevops_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurram2001%2Fdevops_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurram2001%2Fdevops_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gurram2001","download_url":"https://codeload.github.com/Gurram2001/devops_tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurram2001%2Fdevops_tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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-role","ansible-roles","automation","helm","infrastructure-as-code","kubernetes","terraform"],"created_at":"2025-05-24T04:11:36.099Z","updated_at":"2026-04-06T08:01:31.587Z","avatar_url":"https://github.com/Gurram2001.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n### 📄 `roles/devops_tools/README.md`\n\n\n# Ansible Role: DevOps Tools Setup\n\nThis Ansible role installs and configures essential tools required for a DevOps environment. It includes the installation of Docker, Docker Compose, Git, and other helpful command-line utilities. Optional tools like `kubectl`, `helm`, and `terraform` can also be installed based on variables.\n\n---\n\n## 📦 Features\n\n- Installs Docker and enables the Docker service\n- Installs Docker Compose (v2)\n- Adds specified users to the Docker group\n- Installs commonly used CLI tools: `git`, `curl`, `jq`, `unzip`, `python3-pip`\n- Optional installation of:\n  - `kubectl` (Kubernetes CLI)\n  - `helm` (Helm CLI)\n  - `terraform` (HashiCorp IaC tool)\n\n---\n\n## 📁 Role Structure\n\n```text\ndevops_tools/\n├── defaults/\n│   └── main.yml\n├── handlers/\n│   └── main.yml\n├── tasks/\n│   └── main.yml\n├── vars/\n│   └── main.yml\n└── README.md\n````\n\n---\n\n## 🚀 Requirements\n\n* Ubuntu/Debian-based Linux systems\n* `sudo` privileges on target hosts\n\n---\n\n## 🔧 Role Variables\n\nYou can override these variables in your playbook or inventory.\n\n| Variable            | Default      | Description                            |\n| ------------------- | ------------ | -------------------------------------- |\n| `docker_users`      | `['ubuntu']` | List of users to add to `docker` group |\n| `install_kubectl`   | `false`      | Set to `true` to install `kubectl`     |\n| `install_terraform` | `false`      | Set to `true` to install Terraform     |\n| `install_helm`      | `false`      | Set to `true` to install Helm          |\n\n---\n\n## 📝 Example Usage\n\n### Inventory\n\n**`inventory.ini`**\n\n```ini\n[dev]\nyour-ec2-ip-or-hostname ansible_user=ubuntu ansible_ssh_private_key_file=~/.ssh/id_rsa\n```\n\n### Playbook\n\n**`site.yml`**\n\n```yaml\n- name: Setup DevOps Tools\n  hosts: dev\n  become: true\n  roles:\n    - role: devops_tools\n      vars:\n        docker_users:\n          - ubuntu\n          - ansible\n        install_kubectl: true\n        install_terraform: true\n        install_helm: false\n```\n\n---\n\n## ▶️ Run It\n\n```bash\nansible-playbook -i inventory.ini site.yml\n```\n\n---\n\n## 📌 Notes\n\n* The role is optimized for Ubuntu/Debian-based hosts. You may need to adapt it for RHEL/CentOS.\n* Docker Compose is installed manually as a binary (v2 format).\n* Tools are installed directly from official sources (e.g., GitHub, HashiCorp).\n\n---\n\n## ✅ Best Practices\n\n* Use `group_vars` or `host_vars` to manage environment-specific configs.\n* Parameterize versions of tools if you want tighter control over reproducibility.\n* Run `ansible-lint` on this role if you’re enforcing YAML or Ansible coding standards.\n\n---\n\n## 📃 License\n\nMIT License\n\n---\n\n## 🙋‍♂️ Author\n\nGurram Mani Karthik\n\nInspired by real-world DevOps onboarding needs.\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurram2001%2Fdevops_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgurram2001%2Fdevops_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurram2001%2Fdevops_tools/lists"}