This repository has been archived on 2020-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
dokku-ansible-deploy/README.md

44 lines
920 B
Markdown
Raw Normal View History

2020-04-02 22:57:29 +00:00
# dokku-ansible-deploy
Deploy applications on Dokku using Ansible.
## Requirements
- dokku 0.19.13+
- Debian based system (uses `apt` package manager for installing dependencies)
## Installation
Install the plugin like so.
```shell
$ dokku plugin:install https://git.autonomic.zone/autonomic-cooperative/dokku-ansible-deploy.git
$ dokku plugin:install-dependencies
```
Then set up your Dokku user account with sudo account and register that
password with the plugin. This password will be passed into the Ansible
execution as `ansible_become_password` for sudo root escalation.
```
$ sudo usermod -aG sudo dokku
$ sudo passwd dokku
$ dokku ansible-deploy:sudo-pass
```
And finally, register your vault password with the plugin. This is the same
password that you use to encrypt your secrets in your application repository
vault.
```
$ dokku ansible-deploy:vault-pass
```
## Usage
TODO.
## Contribute
TODO.