Deploy applications on Dokku using Ansible
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.
Go to file
2020-04-03 00:57:29 +02:00
subcommands Bootstrap new plugin 2020-04-03 00:57:29 +02:00
commands Bootstrap new plugin 2020-04-03 00:57:29 +02:00
dependencies Bootstrap new plugin 2020-04-03 00:57:29 +02:00
functions Bootstrap new plugin 2020-04-03 00:57:29 +02:00
LICENSE Bootstrap new plugin 2020-04-03 00:57:29 +02:00
plugin.toml Bootstrap new plugin 2020-04-03 00:57:29 +02:00
poetry.lock Bootstrap new plugin 2020-04-03 00:57:29 +02:00
post-extract Bootstrap new plugin 2020-04-03 00:57:29 +02:00
pyproject.toml Bootstrap new plugin 2020-04-03 00:57:29 +02:00
README.md Bootstrap new plugin 2020-04-03 00:57:29 +02: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.

$ 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.