{"id":15546473,"url":"https://github.com/khusnetdinov/provisioner","last_synced_at":"2026-04-20T13:08:45.562Z","repository":{"id":78604774,"uuid":"61782026","full_name":"khusnetdinov/provisioner","owner":"khusnetdinov","description":"Prepare enviroment on linux (Ubuntu) for run Ruby on Rails application in production. Setting up deploy user, timezone, locales, swapfile. Install PostgreSQL, Redis, Nginx.","archived":false,"fork":false,"pushed_at":"2019-07-03T09:03:23.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-09T13:08:17.931Z","etag":null,"topics":["enviroment","linux","nginx","provisioner","redis","swapfile","timezone","ubuntu"],"latest_commit_sha":null,"homepage":"","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/khusnetdinov.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":"2016-06-23T06:52:49.000Z","updated_at":"2019-07-03T09:03:25.000Z","dependencies_parsed_at":"2023-04-05T23:08:10.138Z","dependency_job_id":null,"html_url":"https://github.com/khusnetdinov/provisioner","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":"0.38888888888888884","last_synced_commit":"559346cbb53d1186c70aea2c036f927a1b6f714b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khusnetdinov%2Fprovisioner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khusnetdinov%2Fprovisioner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khusnetdinov%2Fprovisioner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khusnetdinov%2Fprovisioner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khusnetdinov","download_url":"https://codeload.github.com/khusnetdinov/provisioner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246122391,"owners_count":20726823,"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":["enviroment","linux","nginx","provisioner","redis","swapfile","timezone","ubuntu"],"created_at":"2024-10-02T13:02:11.488Z","updated_at":"2026-04-20T13:08:40.527Z","avatar_url":"https://github.com/khusnetdinov.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Provisioner\r\n[![Galaxy](https://img.shields.io/badge/galaxy-provisioner-blue.svg?style=flat-square)](https://galaxy.ansible.com/khusnetdinov/provisioner/)\r\n\r\nThis ansible role helps to use several receipts together. Just wrapper for other roles.\r\n\r\n## Files structure\r\n\r\n```\r\n  ├── /defaults/                  # Default variables for playbook\r\n  │   └── main.yml                # Variables for playbook\r\n  ├── /meta/                      # Meta\r\n  │   └── main.yml                # Ansible Galaxy meta information\r\n  ├── /roles/                     # Vendor playbooks\r\n  ├── /temp/                      # Temp files\r\n  │── ansible.cfg                 # Ansible configuration file\r\n  │── hosts                       # Inventory file\r\n  │── README.md                   # Project description\r\n  │── requerements.txt            # Dependencies file\r\n  └── playbook.yml                # Playbook file\r\n```\r\n\r\n## How it works\r\n\r\n#### Dependencies\r\n\r\nProvisioner use other ansible receipts witch are specified in `requirements.yml`:\r\n\r\n```yaml\r\n  ---\r\n\r\n  - src: \"https://github.com/Stouts/Stouts.locale\"\r\n    name: locale\r\n    version: 1.1.0\r\n\r\n  ... other tools ...\r\n\r\n```\r\n\r\n#### Installation\r\n\r\nRun command:\r\n\r\n```bash\r\n  $ ansible-galaxy install -r requirements.yml\r\n```\r\n\r\n#### Configuration\r\n\r\nAll variables should be placed in `defaults/main.yml`:\r\n\r\n```yaml\r\n  ---\r\n  \r\n  provision_user_name: deploy\r\n  \r\n  ... other variables ...\r\n```\r\n\r\nThis variables are used in playbook `playbook.yml`.\r\n\r\n#### Playbook\r\n\r\nPlaybook is `playbook.yml` - main file. Plase here all logic.\r\n\r\n#### Inventory\r\n\r\nIs located in `hosts`.\r\n\r\n```ini\r\n  # hosts\r\n\r\n  [provision]\r\n  # Set you hosts\r\n  0.0.0.0\r\n```\r\n\r\n#### Run provision\r\n\r\n```bash\r\n  $ ansible-playbook playbook.yml -i hosts -vvv\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhusnetdinov%2Fprovisioner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhusnetdinov%2Fprovisioner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhusnetdinov%2Fprovisioner/lists"}