{"id":31962052,"url":"https://github.com/sydasif/ansible-ubuntu-setting","last_synced_at":"2026-04-20T09:34:53.694Z","repository":{"id":309887755,"uuid":"1037885806","full_name":"sydasif/ansible-ubuntu-setting","owner":"sydasif","description":"Ubuntu Configuration with Ansible","archived":false,"fork":false,"pushed_at":"2026-03-25T13:50:26.000Z","size":10964,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-26T16:47:42.729Z","etag":null,"topics":["ansible","ansible-playbook","ansible-role","ubuntu","ubuntu-server"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sydasif.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-14T09:18:37.000Z","updated_at":"2026-03-25T13:50:30.000Z","dependencies_parsed_at":"2025-10-14T16:14:26.740Z","dependency_job_id":"ef7255f3-3e3e-480f-b4d9-4b0344f9d2df","html_url":"https://github.com/sydasif/ansible-ubuntu-setting","commit_stats":null,"previous_names":["sydasif/ubuntu_desktop_config","sydasif/ansible-ubuntu-setting"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sydasif/ansible-ubuntu-setting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sydasif%2Fansible-ubuntu-setting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sydasif%2Fansible-ubuntu-setting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sydasif%2Fansible-ubuntu-setting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sydasif%2Fansible-ubuntu-setting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sydasif","download_url":"https://codeload.github.com/sydasif/ansible-ubuntu-setting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sydasif%2Fansible-ubuntu-setting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32041650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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","ubuntu","ubuntu-server"],"created_at":"2025-10-14T16:14:24.298Z","updated_at":"2026-04-20T09:34:53.687Z","avatar_url":"https://github.com/sydasif.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Ubuntu Setting\n\nAutomate an Ubuntu desktop setup using Ansible. This repository provides role-based playbooks that install packages, deploy dotfiles, configure Docker, install developer fonts, and apply GNOME preferences so your desktop configuration is version-controlled and repeatable.\n\n## Quick facts\n\n- Target: Ubuntu 24.04+ (desktop)\n- Control machine: Any system with `Git` and `Ansible`\n\n## Repository layout\n\n- `local.yml` — main playbook (roles are tagged so you can run subsets)\n- `ansible.cfg` — project Ansible configuration\n- `group_vars/` — `example.yml` provided; copy to `Ubuntu.yml` and customize\n- `roles/` — role implementations (packages, dotfiles, docker, fonts, gnome)\n- `scripts/inventory.py` — optional dynamic inventory\n- `requirements.txt` — Python dependencies\n\n## Quick start\n\n1. Clone the repository and change into it:\n\n```bash\ngit clone https://github.com/sydasif/ansible-ubuntu-setting.git\ncd ansible-ubuntu-setting\n```\n\n1. Create a Python virtual environment and install dependencies:\n\n```bash\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\n```\n\nNote: The inventory script requires the 'distro' package which is included in the requirements.txt file.\n\n1. Copy the example group variables and edit them for your environment:\n\n```bash\ncp group_vars/example.yml group_vars/Ubuntu.yml\n# edit group_vars/Ubuntu.yml (ansible_user, package lists, dotfiles_repo, etc.)\n```\n\n1. Run the full playbook (example using the included dynamic inventory):\n\n```bash\nansible-playbook -i scripts/inventory.py local.yml --ask-become-pass\n```\n\nNote: The `scripts/inventory.py` is a dynamic inventory script that automatically detects your local Ubuntu system. Make sure you have the required Python dependencies installed (distro package).\n\n### Run specific roles only\n\nRoles in `local.yml` are tagged. Use `--tags` to run a subset:\n\n```bash\n# run only fonts and docker roles\nansible-playbook local.yml --tags \"fonts,docker\"\n\n# run only the dotfiles role\nansible-playbook local.yml --tags dotfiles\n```\n\n## Customize\n\n- Edit `group_vars/Ubuntu.yml` to change package lists, dotfiles repository URL, or GNOME preferences.\n- Keep secrets out of the repository; use Ansible Vault or an external secret store.\n\n## Idempotency\n\nRoles are written to be idempotent. Re-running the playbook should converge the system to the desired state without repeating already-applied changes.\n\n## Contributing \u0026 CI\n\nSee `CONTRIBUTING.md` for contribution guidelines. This repository includes GitHub Actions workflows that run `yamllint` and `ansible-lint` on pushes and pull requests.\n\n## License\n\nMIT License - see the `LICENSE` file for details.\n\n## References\n\n- Dotfiles example: [sydasif/dotfiles](https://github.com/sydasif/dotfiles)\n- Inspiration: LearnLinuxTV Ansible tutorials\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsydasif%2Fansible-ubuntu-setting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsydasif%2Fansible-ubuntu-setting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsydasif%2Fansible-ubuntu-setting/lists"}