{"id":18096153,"url":"https://github.com/bbilly1/ansible-playbooks","last_synced_at":"2025-04-06T03:24:23.463Z","repository":{"id":131864401,"uuid":"483287085","full_name":"bbilly1/ansible-playbooks","owner":"bbilly1","description":"A collection of Ansible playbooks I use to provision things.","archived":false,"fork":false,"pushed_at":"2024-03-11T07:43:59.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T09:37:26.970Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bbilly1.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":"2022-04-19T14:44:04.000Z","updated_at":"2024-07-30T22:08:25.000Z","dependencies_parsed_at":"2024-10-31T19:12:55.137Z","dependency_job_id":null,"html_url":"https://github.com/bbilly1/ansible-playbooks","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/bbilly1%2Fansible-playbooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbilly1%2Fansible-playbooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbilly1%2Fansible-playbooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbilly1%2Fansible-playbooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbilly1","download_url":"https://codeload.github.com/bbilly1/ansible-playbooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247428393,"owners_count":20937468,"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-10-31T19:12:50.372Z","updated_at":"2025-04-06T03:24:23.445Z","avatar_url":"https://github.com/bbilly1.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Playbooks\n\nA collection of Ansible playbooks I use to provision things.\n\n## Ansible VPS setup\n\nAnsible playbook to provision a plain Ubuntu VPS from digitalocean. Expects ssh access for user root. \n\n- Create user\n- Secure ssh\n- Configure ufw\n\n### Setup\nCopy or rename `vars.samle.yml` to `vars.yml` and set:\n- **regular_user**: Default username to create\n- **user_password**: Password for new user\n- **sshd_port**: Change ssh port\n\n### Note\nThe port change is tested for Ubuntu 20.04 LTS and 22.04 LTS. This wont work for 21.10, as ubuntu changed ssh to use socket based activation.\n\n### Run on a single host\n```\nansible-playbook -i $hostname, ansible-vps-setup/playbook.yml\n```\n\n## Ansible Docker Ubuntu\nAnsible playbook to provision an standart Ubuntu LTS server VM. Expects the user *regular_user* to be already created. \n\n- update and upgrade repo packages\n- install basic necessities\n- install `docker`\n- install `docker compose`\n- copy frequently used config files\n- configure swap\n- install maintenance services to clean trash and docker build cache\n\n### Setup\nCopy or rename `vars.samle.yml` to `vars.yml` and set:\n- **regular_user**: Default username \n\n### Run on a single host\n```\nansible-playbook -i $hostname, -K ansible-docker-ubuntu/playbook.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbilly1%2Fansible-playbooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbilly1%2Fansible-playbooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbilly1%2Fansible-playbooks/lists"}