{"id":18000137,"url":"https://github.com/flaudisio/linux-setup-playbook","last_synced_at":"2025-03-26T07:32:03.350Z","repository":{"id":71089650,"uuid":"96502512","full_name":"flaudisio/linux-setup-playbook","owner":"flaudisio","description":"Linux setup using Ansible.","archived":false,"fork":false,"pushed_at":"2025-02-25T12:05:59.000Z","size":700,"stargazers_count":16,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-21T11:09:51.797Z","etag":null,"topics":["ansible","ansible-roles"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/flaudisio.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}},"created_at":"2017-07-07T05:32:10.000Z","updated_at":"2025-02-25T12:06:03.000Z","dependencies_parsed_at":"2024-08-11T20:44:16.199Z","dependency_job_id":"7f06cd2b-68b3-4fb4-a7f8-3348a6e15524","html_url":"https://github.com/flaudisio/linux-setup-playbook","commit_stats":{"total_commits":443,"total_committers":1,"mean_commits":443.0,"dds":0.0,"last_synced_commit":"025eb2b120f590e5e118c117cbc8832d5beceb6d"},"previous_names":["flaudisio/linux-setup-playbook","flaudisio/ansible-workstation"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaudisio%2Flinux-setup-playbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaudisio%2Flinux-setup-playbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaudisio%2Flinux-setup-playbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaudisio%2Flinux-setup-playbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flaudisio","download_url":"https://codeload.github.com/flaudisio/linux-setup-playbook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245611755,"owners_count":20643892,"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":["ansible","ansible-roles"],"created_at":"2024-10-29T23:09:48.295Z","updated_at":"2025-03-26T07:32:03.338Z","avatar_url":"https://github.com/flaudisio.png","language":"Shell","readme":"# Linux Setup Playbook\n\nAnsible playbooks and roles that I use to provision my Linux-based machines.\n\n## Compatibility\n\nThis repository is currently tested against **Xubuntu 24.04**, but most roles should work with any Ubuntu\nflavor running the same version.\n\n## Prerequisites\n\n- Git\n- Python [venv](https://docs.python.org/3/library/venv.html) module\n\nThe installation steps below take care of bootstrapping a default (X)Ubuntu installation.\n\n## Installation\n\nRun the [installation script](install.sh) and follow its instructions:\n\n```bash\nwget -q -O - https://raw.githubusercontent.com/flaudisio/linux-setup-playbook/refs/heads/main/install.sh | bash\n```\n\n\u003e Notice that `curl` may not be available in vanilla Ubuntu installations.\n\nThe script will:\n\n- Install Git and Python's [venv](https://docs.python.org/3/library/venv.html) module package (`python3-venv`)\n- Clone this repository\n- Install Ansible in a virtualenv and download the required collections/roles to the cloned folder\n\n## Overriding defaults\n\nYou can override variables defined in `config.default.yml` (or define new ones) by creating a `config.yml`\nfile.\n\nExample:\n\n```yaml\n# Customize the list of installed packages\npackages_apt_install:\n  - htop\n  - jq\n  - vim\n\npackages_pipx_install:\n  - pre-commit\n\n# Clear the custom Docker daemon options by setting an empty object\ndocker_daemon_options: {}\n```\n\nFor all available options, see the roles' variable files in the [local roles](roles/local) folder.\n\n## Running the playbook\n\nRun the `setup` playbook:\n\n```bash\ncd ~/.local/share/linux-setup-playbook\n\n./run.sh setup.yml\n```\n\nThe [run.sh](run.sh) script is a tiny wrapper for the `ansible-playbook` command. By default it uses\nthe `--become --ask-become-pass` arguments, so your user must be able to use `sudo` (which is default\non clean Ubuntu installations).\n\n## Running specific tasks\n\nUse `ansible-playbook`'s flags like `--tags` (shorthand: `-t`) to run only specific tasks, enable check\nmode and so on.\n\nExample:\n\n```bash\n./run.sh setup.yml --list-tasks\n./run.sh setup.yml -t backup -t spotify\n./run.sh setup.yml -t packages -t restic\n./run.sh setup.yml -t spotify --diff -C\n```\n\n## Thanks\n\nThis project is heavily inspired by Jeff Geerling's great [Mac Development Ansible Playbook](https://github.com/geerlingguy/mac-dev-playbook).\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaudisio%2Flinux-setup-playbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflaudisio%2Flinux-setup-playbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaudisio%2Flinux-setup-playbook/lists"}