Sha256: f664e045ded71feb19c6b5ecd35ff6584f888e2c1f57444ebc222cf667d3b2f3

Contents?: true

Size: 1.01 KB

Versions: 6

Compression:

Stored size: 1.01 KB

Contents

---
description:
  Deploy web application to the server
usage:
  deploy HOST [TOOL]
arguments:
  - host
  - tool
tasks:
  - task: ensure
    argument: user
    fallbacks:
      - task: read_config
        key: user
      - description: Obtaining remote user
        task: remote_execute
        command: whoami
  - task: ensure
    argument: tool
    fallbacks:
      - task: read_config
        key: tool
      - description: Choose which deploy tool to use
        task: select
        question: Which deployment tool do you want to use?
        options: << playbooks >>
  - task: ensure
    argument: release_path
    fallbacks:
      - task: read_config
        key: release_path
      - description: Specify which directory to deploy to
        task: input
        question: Enter release path on the server
        default: ~/app
  - task: write_config
    config:
      user: << user >>
      tool: << tool >>
      release_path: << release_path >>
  - task: obtain_config
  - task: playbook
    playbook: deploy/{{ tool }}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vps-0.2.3 playbooks/deploy.yml
vps-0.2.2 playbooks/deploy.yml
vps-0.2.1 playbooks/deploy.yml
vps-0.2.0 playbooks/deploy.yml
vps-0.1.2 playbooks/deploy.yml
vps-0.1.1 playbooks/deploy.yml