{"id":20152466,"url":"https://github.com/wach-e/ansible-play","last_synced_at":"2026-05-11T10:36:02.229Z","repository":{"id":44913945,"uuid":"415675925","full_name":"Wach-E/Ansible-Play","owner":"Wach-E","description":"Automation process for installing and configuring Nginx reverse proxy on a remote machine using Ansible. The roles approach is implemented.","archived":false,"fork":false,"pushed_at":"2022-04-12T20:33:45.000Z","size":217,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T12:18:56.378Z","etag":null,"topics":["ansible-playbook","ansible-roles","nginx"],"latest_commit_sha":null,"homepage":"https://faun.pub/automate-nginx-setup-using-ansible-d2958e2b930c","language":"Jinja","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/Wach-E.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":"2021-10-10T19:04:52.000Z","updated_at":"2023-03-08T01:06:32.000Z","dependencies_parsed_at":"2022-09-05T13:11:57.313Z","dependency_job_id":null,"html_url":"https://github.com/Wach-E/Ansible-Play","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/Wach-E%2FAnsible-Play","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wach-E%2FAnsible-Play/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wach-E%2FAnsible-Play/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wach-E%2FAnsible-Play/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wach-E","download_url":"https://codeload.github.com/Wach-E/Ansible-Play/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241592407,"owners_count":19987357,"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-playbook","ansible-roles","nginx"],"created_at":"2024-11-13T23:12:09.171Z","updated_at":"2026-05-11T10:36:02.194Z","avatar_url":"https://github.com/Wach-E.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automating Nginx Setup using Ansible\n\nPre-requisites\n---\nControl Node:\n* Python interpreter (preferably python3)\n* OpenSSH Daemon\n\nManaged Node:\n* OpenSSH Daemon\n* Sudo privileges\n---\n\n![Alt](https://repobeats.axiom.co/api/embed/c0bab9778a2b2550b48448bb545791a6edbf6ce0.svg \"Repobeats analytics image\")\n\nThe files contained in this repo is geared towards the automation process for installing and configuring Nginx reverse proxy on a remote machine using Ansible.\n\nThe role technique is implemented with its standard file structure\n\n![Nginx role file tree](https://github.com/Wach-E/Ansible-Play/blob/main/images/Role%20file%20tree.png)\n\n\nNote: It will be required to change the contents of the [inventory](https://github.com/Wach-E/Ansible-Play/blob/main/inventory) and  file [vars/main](https://github.com/Wach-E/Ansible-Play/blob/main/roles/nginx/vars/main.yaml) to suite your remote host\n\nTo use, navigate to the cloned directory in the control node and run:\n\n`ansible-playook main.yaml`\n\nOn a successful play, the output would look like this:\n\n![Ansible playbook output](https://github.com/Wach-E/Ansible-Play/blob/main/images/Ansile%20playbook%20output.png)\n\nNavigate to the IP of the remote machine and visit the root directory on port 80:\n\n![Nginx running successfully](https://github.com/Wach-E/Ansible-Play/blob/main/images/Nginx%20Running.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwach-e%2Fansible-play","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwach-e%2Fansible-play","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwach-e%2Fansible-play/lists"}