basserselim.deploy

Role Name

A simple Role for deploying an application.

Requirements

Role Variables

  • deploy_path: where to deploy the application
  • deploy_owner: who owns the deploy directory and files
  • deploy_group: the group that owns the deploy directory and files
  • deploy_release_file: the path to the release archive that you want to deploy
  • deploy_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

Informazioni sul progetto

A simple Role to deploy an application.

Installa
ansible-galaxy install basserselim.deploy
Licenza
Unknown
Download
124
Proprietario