{"id":16171408,"url":"https://github.com/igormukhingmailcom/ansible-playbook-kmcnc","last_synced_at":"2025-04-07T07:50:35.135Z","repository":{"id":89032803,"uuid":"43057788","full_name":"igormukhingmailcom/ansible-playbook-kmcnc","owner":"igormukhingmailcom","description":"Example playbook for Code'n'Coffee KM #18","archived":false,"fork":false,"pushed_at":"2015-09-24T13:47:02.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T11:52:46.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://slides.com/igor_mukhin/deploy-symfony2-with-ansible","language":"Shell","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/igormukhingmailcom.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":"2015-09-24T09:34:29.000Z","updated_at":"2015-09-28T06:30:32.000Z","dependencies_parsed_at":"2023-03-10T12:15:18.106Z","dependency_job_id":null,"html_url":"https://github.com/igormukhingmailcom/ansible-playbook-kmcnc","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/igormukhingmailcom%2Fansible-playbook-kmcnc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igormukhingmailcom%2Fansible-playbook-kmcnc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igormukhingmailcom%2Fansible-playbook-kmcnc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igormukhingmailcom%2Fansible-playbook-kmcnc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igormukhingmailcom","download_url":"https://codeload.github.com/igormukhingmailcom/ansible-playbook-kmcnc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247615481,"owners_count":20967182,"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-10T03:23:44.552Z","updated_at":"2025-04-07T07:50:35.115Z","avatar_url":"https://github.com/igormukhingmailcom.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-playbook-symfony\n\nAnsible playbook to configure server and install symfony2 apps.\n\n## Add new client\n\n```bash\nmkdir clients/NAME\necho \"YOUR_HOST ansible_ssh_host=YOUR_IP\" \u003e clients/NAME/inventory\n```\n\nDon't forget to replace `NAME`, `YOUR_HOST` and `YOUR_IP` with actual values.\n\nEdit parameters such as passwords, logins, etc:\n\n```bash\ncp clients/private.yml.dist clients/NAME/private.yml\nnano clients/NAME/private.yml\n```\n\n## Add new app\n\nAdd your app settings to `vars/symfony2-yourapp.yml` and include this file from `playbook.yml`.\n\nAdd new records to:\n\n```\nvars/apache.yml\nvars/mysql.yml\nvars/cron.yml\n```\n\n## Test\n\nRun:\n\n```\ncd tests\ncp Vagrantfile.dist Vagrantfile\nnano Vagrantfile # Put your github oauth key\nvagrant up --provision\n```\n\nAdd `192.168.2.2 vagrant-crm.com` to `/etc/hosts` and open `vagrant-crm.com` in your browser to see result.\n\n## Run\n\nTo provision and deploy your app to servers listed at `clients/NAME/inventory`, run:\n\n```bash\nbin/deploy.sh NAME\n```\n\nSecond time you may pass tags to run only needed part of playbook:\n\n```bash\nbin/deploy.sh NAME EXTRA_TAGS\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figormukhingmailcom%2Fansible-playbook-kmcnc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figormukhingmailcom%2Fansible-playbook-kmcnc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figormukhingmailcom%2Fansible-playbook-kmcnc/lists"}