basserselim.deploy
Role Name
A simple Role for deploying an application.
Requirements
Role Variables
deploy_path
: where to deploy the applicationdeploy_owner
: who owns the deploy directory and filesdeploy_group
: the group that owns the deploy directory and filesdeploy_release_file
: the path to the release archive that you want to deploydeploy_shared_folders
: a list of folders shared across releases, like sessions, logs, or uploads
Example Playbook
- hosts: servers
roles:
- role: basserselim.deploy
deploy_path: "/srv/app"
deploy_release_file: "../release.tar.gz"
deploy_owner: "www-data"
deploy_group: "www-data"
deploy_shared_folders:
- path: "data/uploads"
src: "uploads"
# This creates the directory /srv/app/shared/uploads if it doesn't exist
# and links /srv/app/current/data/uploads to /srv/app/shared/uploads.
License
BSD
Author Information
Installa
ansible-galaxy install basserselim.deploy
Licenza
Unknown
Download
124
Proprietario