{"id":48744311,"url":"https://github.com/kaio6fellipe/ansible-devops","last_synced_at":"2026-04-12T09:52:23.755Z","repository":{"id":58625364,"uuid":"522435216","full_name":"kaio6fellipe/ansible-devops","owner":"kaio6fellipe","description":"Provisioning base code of a platform made with Terraform in AWS","archived":false,"fork":false,"pushed_at":"2023-01-30T06:32:14.000Z","size":423,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"development","last_synced_at":"2023-03-05T20:08:11.449Z","etag":null,"topics":["ansible","devops","platform","platform-engineering"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/kaio6fellipe.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}},"created_at":"2022-08-08T06:44:26.000Z","updated_at":"2022-12-15T00:32:02.000Z","dependencies_parsed_at":"2023-02-16T04:35:25.411Z","dependency_job_id":null,"html_url":"https://github.com/kaio6fellipe/ansible-devops","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/kaio6fellipe/ansible-devops","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaio6fellipe%2Fansible-devops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaio6fellipe%2Fansible-devops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaio6fellipe%2Fansible-devops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaio6fellipe%2Fansible-devops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaio6fellipe","download_url":"https://codeload.github.com/kaio6fellipe/ansible-devops/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaio6fellipe%2Fansible-devops/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31710792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","devops","platform","platform-engineering"],"created_at":"2026-04-12T09:52:23.235Z","updated_at":"2026-04-12T09:52:23.748Z","avatar_url":"https://github.com/kaio6fellipe.png","language":"Shell","readme":"# **A project to practice Ansible** \n\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=kaio6fellipe_ansible-devops\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=kaio6fellipe_ansible-devops)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=kaio6fellipe_ansible-devops\u0026metric=security_rating)](https://sonarcloud.io/summary/new_code?id=kaio6fellipe_ansible-devops)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=kaio6fellipe_ansible-devops\u0026metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=kaio6fellipe_ansible-devops)\n![](https://img.shields.io/github/commit-activity/w/kaio6fellipe/ansible-devops)\n\n| Env | Status |\n| --- | ------ |\n| Development | ![Build and package](https://github.com/kaio6fellipe/ansible-devops/actions/workflows/build_package.yml/badge.svg) |\n\nThis repository manage the configuration present in every machine of my platform (In creation) with a different approach of Ansible usage, using it in a \"GitOps\" flow with a pipeline linked to an \"Ansible Controller\" in AWS. Infrastructure bootstrap and management is being realized in my [terraform-devops](https://github.com/kaio6fellipe/terraform-devops) repository.\n\nSo basically this would be the flow that the code in this repository goes through:\n- GitHub\n- Build and Package (GitActions) \n- Upload to S3 \n- CodePipeline ([aws folder](https://github.com/kaio6fellipe/ansible-devops/tree/development/aws/scripts))\n  - Ansible Controller\n    - After that, all playbooks will be executed, ensuring that all configs present in this repo will be provisioned in all machines present in the dynamic inventory\n\n![](./how-it-works.drawio.svg)\n\n### Things that are already included:\n- [x] Common role to deal with user management and everything that all machines must have in common\n- [x] Grafana Dashboards config role\n- [x] Grafana Agent config role\n- [x] Grafana Loki config role\n- [x] Grafana Mimir config role (Testing)\n- [x] Dynamic inventory based on AWS tags\n- [x] SonarQube coverage\n- [x] Granular GitOps Agent for Ansible\n### Things that will be included (or not):\n- [ ] GoTeleport config role (maybe not)\n- [ ] Grafana Tempo config role\n- [ ] Helm config role for EKS\n- [ ] Amazon Linux 2 optimization role\n\n## **[Role directory structure](https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#role-directory-structure)**\nAn Ansible role has a defined directory structure with eight main standard directories. You must include at least one of these directories in each role. You can omit any directories the role does not use. For example:\n\n```shell\n# playbooks\nsite.yml\nwebservers.yml\nfooservers.yml\n```\n```shell\nroles/\n    common/               # this hierarchy represents a \"role\"\n        tasks/            #\n            main.yml      #  \u003c-- tasks file can include smaller files if warranted\n        handlers/         #\n            main.yml      #  \u003c-- handlers file\n        templates/        #  \u003c-- files for use with the template resource\n            ntp.conf.j2   #  \u003c------- templates end in .j2\n        files/            #\n            bar.txt       #  \u003c-- files for use with the copy resource\n            foo.sh        #  \u003c-- script files for use with the script resource\n        vars/             #\n            main.yml      #  \u003c-- variables associated with this role\n        defaults/         #\n            main.yml      #  \u003c-- default lower priority variables for this role\n        meta/             #\n            main.yml      #  \u003c-- role dependencies\n        library/          # roles can also include custom modules\n        module_utils/     # roles can also include custom module_utils\n        lookup_plugins/   # or other types of plugins, like lookup in this case\n\n    webtier/              # same kind of structure as \"common\" was above, done for the webtier role\n    monitoring/           # \"\"\n    fooapp/               # \"\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaio6fellipe%2Fansible-devops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaio6fellipe%2Fansible-devops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaio6fellipe%2Fansible-devops/lists"}