From 5710d6d38ddf9fd42c80b092d4ad9949749d4ce7 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 21 Mar 2020 01:33:46 +0100 Subject: [PATCH] Add note about permissions --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 456e210..e771345 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,10 @@ $ ansible-vault \ You can place this output in your plays and it can be successfully decrypted on the remote Dokku host. +## Permissions + +Since the `dokku` user account runs the plays on the host, you will need to deal with sudo permissions when you want to use `become: true` to run a privilege escalation to the root account. In order to do this, you'll need to 1) run `passwd dokku` as the root user and set an account password and 2) add the `dokku` user account to the sudoers group (`usermod -aG sudo dokku`). + ## Example ### ansible/requirements.yml