{"id":13610243,"url":"https://github.com/do-community/ansible-playbooks","last_synced_at":"2025-04-12T17:41:29.913Z","repository":{"id":35964477,"uuid":"181655528","full_name":"do-community/ansible-playbooks","owner":"do-community","description":"Playbooks for automating server procedures based on our Community guides","archived":false,"fork":false,"pushed_at":"2023-07-20T16:20:59.000Z","size":51,"stargazers_count":564,"open_issues_count":6,"forks_count":492,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-04-03T19:14:47.369Z","etag":null,"topics":["ansible","ansible-playbooks","automation","lamp","lemp"],"latest_commit_sha":null,"homepage":null,"language":null,"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/do-community.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":"2019-04-16T09:13:45.000Z","updated_at":"2025-04-03T16:27:30.000Z","dependencies_parsed_at":"2024-08-01T19:43:55.694Z","dependency_job_id":"341fa7fb-3c57-4f39-a235-6490748a86ea","html_url":"https://github.com/do-community/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/do-community%2Fansible-playbooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-community%2Fansible-playbooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-community%2Fansible-playbooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-community%2Fansible-playbooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/do-community","download_url":"https://codeload.github.com/do-community/ansible-playbooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248607885,"owners_count":21132625,"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-playbooks","automation","lamp","lemp"],"created_at":"2024-08-01T19:01:42.837Z","updated_at":"2025-04-12T17:41:29.890Z","avatar_url":"https://github.com/do-community.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# DO Community - Ansible Playbooks\n\nA collection of minimalist Ansible playbooks for automating server setups, based on DigitalOcean's Community guides.\n\n- [Initial Server Setup for Ubuntu 18.04](https://github.com/do-community/ansible-playbooks/tree/master/setup_ubuntu1804) *\n- [Apache on Ubuntu 18.04](https://github.com/do-community/ansible-playbooks/tree/master/apache_ubuntu1804)\n- [LEMP on Ubuntu 18.04](https://github.com/do-community/ansible-playbooks/tree/master/lemp_ubuntu1804)\n- [LAMP on Ubuntu 18.04](https://github.com/do-community/ansible-playbooks/tree/master/lamp_ubuntu1804)\n- [WordPress with LAMP on Ubuntu 18.04](https://github.com/do-community/ansible-playbooks/tree/master/wordpress-lamp_ubuntu1804)\n- [Docker on Ubuntu 18.04](https://github.com/do-community/ansible-playbooks/tree/master/docker_ubuntu1804)\n\n_\\*the Initial Server Setup should be your starting point for fresh servers._\n\n## Playbook Structure\n\nThe playbooks contained in this repository were created for educational purposes, and should serve as a base for you to create your own playbooks and roles.\n\nAlthough we opt to not use roles, our playbooks follow a distinctive structure to facilitate reuse while keeping them mostly self-contained and straightforward.\n\nFor instance, this is how the `lemp` playbook is structured:\n\n```\nlemp_ubuntu1804\n├── files\n│   ├── info.php.j2\n│   └── nginx.conf.j2\n├── vars\n│   └── default.yml\n├── playbook.yml\n└── readme.md\n```\n\n\n- `files/`: directory containing templates and other files required by the playbook.\n- `vars/`: directory to save variable files. A `default.yml` var file is included by default.\n- `playbook.yml`: the playbook file.\n- `readme.md`: instructions and links related to this playbook.\n\n## Getting Started\n\nTo set up your Ansible environment, please follow our guide on [How to Install and Configure Ansible on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-ansible-on-ubuntu-18-04).\n\n### Connection Test\n\nFrom your local machine or Ansible control node, run:\n\n```command\nansible all -m ping -u remote_user\n```\n\nIf you're able to get a \"pong\" reply back from your node(s), your setup works as expected and you'll be able to run both ad-hoc commands and playbooks on your nodes, using Ansible.\n\n## Guides\n\nThe following guides cover how to use the playbooks you'll find in this repository.\n\n### Initial Server Setup\n\n- [Initial Server Setup for Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-ansible-on-ubuntu-18-04)\n\nOnce you have executed the initial server setup, you can choose from any of the available server setup playbooks:\n\n### Web Servers\n- [Apache on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-use-ansible-to-install-and-set-up-apache-on-ubuntu-18-04)\n- [LEMP (Linux, Nginx, MySQL, PHP) on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-use-ansible-to-install-and-set-up-lemp-on-ubuntu-18-04)\n- [LAMP (Linux, Apache, MySQL, PHP) on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-use-ansible-to-install-and-set-up-lamp-on-ubuntu-18-04)\n\n### Applications \u0026 CMSs\n\n- [WordPress with LAMP on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-use-ansible-to-install-and-set-up-wordpress-with-lamp-on-ubuntu-18-04)\n\n### Containers \u0026 K8s\n- [Docker on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-use-ansible-to-install-and-set-up-docker-on-ubuntu-18-04)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-community%2Fansible-playbooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdo-community%2Fansible-playbooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-community%2Fansible-playbooks/lists"}