{"id":17164282,"url":"https://github.com/norberttech/ansible-symfony2-deploy","last_synced_at":"2025-04-10T19:32:06.876Z","repository":{"id":14468185,"uuid":"17180170","full_name":"norberttech/ansible-symfony2-deploy","owner":"norberttech","description":"Ansible playbooks that helps with installation and deployment of Symfony2 application.","archived":false,"fork":false,"pushed_at":"2014-03-15T17:38:24.000Z","size":137,"stargazers_count":23,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T16:58:46.670Z","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/norberttech.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":"2014-02-25T16:41:24.000Z","updated_at":"2019-01-09T23:33:30.000Z","dependencies_parsed_at":"2022-07-29T17:29:15.589Z","dependency_job_id":null,"html_url":"https://github.com/norberttech/ansible-symfony2-deploy","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/norberttech%2Fansible-symfony2-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norberttech%2Fansible-symfony2-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norberttech%2Fansible-symfony2-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norberttech%2Fansible-symfony2-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/norberttech","download_url":"https://codeload.github.com/norberttech/ansible-symfony2-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281399,"owners_count":21077423,"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-14T22:51:29.637Z","updated_at":"2025-04-10T19:32:06.841Z","avatar_url":"https://github.com/norberttech.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository contain 3 Ansible playbooks that can help you with Symfony2 application\ninstallation and later deploys.\n\n#Usage\n\nFirst of all you should install [Ansible](http://www.ansible.com/home) on your machine,\nofficial [docs](http://docs.ansible.com/intro_installation.html) should help you with that.\n\nNow you need create host file (``cp hosts.dist hosts``). Basically it's enough to put there server\nhost where your application should be deployed/installed.\n\nProject variables - everything that is related to your project should be configured in 2 files.\n``vars.yml`` and ``templates/parameters.yml.js2``. Just copy ``vars.yml.dist`` to ``vars.yml`` and\n``templates/parameters.yml.js2.dist`` to ``templates/parameters.yml.js2``.\nEvery single variable in those files should be self descriptive.\n\nOk now you should have everything to install project at production server with ``ansible-playbook -i hosts provision.yml``\nbut before doing it you should check playbook with ``ansible-playbook -i hosts provision.yml --check``\n\n## Provision\n\nThis command should be used only once. it's basically a application installation playbook.\n\n```\n$ ansible-playbook -i hosts provision.yml\n```\n\n## Deploy\n\nUse every single time when you need to update your application.\nThis playbook will not remove current application code from server. It will copy application source to\ntemp location, do deploy stuff and replace source app with temp.\n\n```\n$ ansible-playbook -i hosts deploy.yml\n```\n\n## Destroy\n\nUse only when you need to remove application from server. It will remove application sources,\ndatabases and apache configuration from server.\n\n```\n$ ansible-playbook -i hosts destroy.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorberttech%2Fansible-symfony2-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorberttech%2Fansible-symfony2-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorberttech%2Fansible-symfony2-deploy/lists"}