# ansistrano/deploy

Ansible role to deploy scripting applications like PHP, Python, Ruby, etc. in a capistrano style

Repository: https://github.com/ansistrano/deploy
Canonical: https://ross.abutalabs.com/products/deploy
Homepage: https://ansistrano.com
Language: YAML
License: MIT
License Family: permissive
Topics: deployment-strategy, ansible, ansible-roles, deployment, capistrano, rollback, hooks, deploy, deployer, deployments
Last push: 2026-03-24T09:09:18+00:00

## Health v2 (maintenance only)
Score: 56/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 73, release rhythm 8, longevity 100
- inputs: {"age_days": 4402, "days_push": 162, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2406, forks 346 (observed 2026-08-28T04:06:44.107882+00:00)

## What it is
Ansistrano is a pair of Ansible roles (ansistrano.deploy and ansistrano.rollback) that manage application deployments using a Capistrano-style workflow with releases, symlinks, hooks, and rollback. It supports multiple deployment strategies including rsync, git, svn, hg, S3, GCS, and downloadable archives.

## Use cases
- deploy a PHP application to servers with Ansible
- capistrano-style deployments for Python or Ruby apps
- roll back to a previous release after a bad deploy
- deploy from git, s3, or gcs artifacts to remote hosts
- run custom tasks before and after deployment with hooks
- prune old releases and manage current symlink

## When to choose
- you already use Ansible and want scripted, repeatable app deployments
- you need Capistrano-style releases, symlinks, and rollback without a Ruby stack
- you deploy scripting-language apps (PHP, Python, Ruby) to one or many servers

## When to avoid
- you need container or Kubernetes-based deployments
- you want a full CI/CD pipeline rather than a deployment role
- your deployment target requires zero-downtime orchestration beyond symlink switching

## Facets
- artifact type: plugin
- maturity: active
- function: deployment, configuration-management, ci-cd
- domain: web-development, self-hosted
- platform: windows, cli, cross-platform
- tags: ansible-role, capistrano-style, rollback, release-management, deployment-hooks, rsync, git-deploy, devops, automation, linux, macos

## Member repositories
- ansistrano/deploy (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:44.107882+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:06.006867+00:00, confidence not recorded.
  - readme: https://github.com/ansistrano/deploy (fetched 2026-08-28T04:06:44.107882+00:00, sha 10974081f3f9)
  - homepage: https://ansistrano.com (fetched 2026-08-29T10:14:19.443381+00:00, sha dd28732f759e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
