{"id":23359844,"url":"https://github.com/firehed/ansible-composer-project","last_synced_at":"2026-01-20T06:01:06.846Z","repository":{"id":138434557,"uuid":"45147650","full_name":"Firehed/ansible-composer-project","owner":"Firehed","description":"Ansible role: Deploy a Composer project","archived":false,"fork":false,"pushed_at":"2015-11-06T21:00:10.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T20:53:57.712Z","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/Firehed.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-10-28T23:20:14.000Z","updated_at":"2020-07-28T00:13:04.000Z","dependencies_parsed_at":"2023-03-13T16:43:06.036Z","dependency_job_id":null,"html_url":"https://github.com/Firehed/ansible-composer-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Firehed/ansible-composer-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Fansible-composer-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Fansible-composer-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Fansible-composer-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Fansible-composer-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Firehed","download_url":"https://codeload.github.com/Firehed/ansible-composer-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Fansible-composer-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28597087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-12-21T11:12:07.007Z","updated_at":"2026-01-20T06:01:06.832Z","avatar_url":"https://github.com/Firehed.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Composer Project Deployment\n=========\n\nDeploy a Composer project (including installing dependencies, etc) to a remote server, using a typical \"symlink swap\" technique. \n\nYour web server (nginx, apache) should point to `{{ composer_dest }}/{{ composer_live_directory }}` as a starting point.\nAssuming your project includes a `public` directory, or similar, you will still need to include that in your webserver configuration.\n\nIf you need to perform any work on the server before the deployed code goes live, you may provide commands in `composer_pre_link_commands`.\nThis can be used to warm caches, prepare temp files, etc.\nAny commands will be run in the new code's working directory, e.g. `/var/www/releases/20150101000000/`.\n\nRequirements\n------------\n\nComposer must be installed *on the local machine*. The configured repo (and any of its Composer dependencies) must also be reachable *from the local machine*.\n\nRole Variables\n--------------\n\n\tcomposer_repo: git@example.com:Some/Repo.git\n\tcomposer_version: master\n\tcomposer_dest: /var/www\n\tcomposer_pre_link_commands: []\n\n\tcomposer_www_user: nginx\n\tcomposer_www_group: nginx\n\t\n\t# These will probably not need to be changed\n\tcomposer_release_directory: releases\n\tcomposer_live_directory: current\n\nDependencies\n------------\n\nNone\n\nExample Playbook\n----------------\n    - hosts: servers\n      roles:\n      - role: Firehed.composer-project\n        composer_repo: git@github.com:YourUsername/YourWebsite.git\n        composer_version: master\n        composer_dest: /var/www/yourwebsite\n        composer_www_user: nginx\n        composer_www_group: nginx\n        composer_pre_link_commands:\n          - ./vendor/bin/doctrine orm:generate-proxies\nLicense\n-------\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirehed%2Fansible-composer-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirehed%2Fansible-composer-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirehed%2Fansible-composer-project/lists"}