From c7e7374c082f1053ff9878743770e68fb16c3857 Mon Sep 17 00:00:00 2001 From: James Graham <J.Graham@software.ac.uk> Date: Mon, 11 Mar 2019 15:03:15 +0000 Subject: [PATCH] Add Ansible password flags to admin docs --- docs/source/guide_administrator.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/source/guide_administrator.rst b/docs/source/guide_administrator.rst index fdfab70..374c881 100644 --- a/docs/source/guide_administrator.rst +++ b/docs/source/guide_administrator.rst @@ -80,6 +80,7 @@ It it necessary to provide some configuration before deploying PEDASI. :caption: deploy/.env SECRET_KEY=<random string> + ALLOWED_HOSTS=hostname.domain SOCIAL_AUTH_GOOGLE_OAUTH2_KEY=<Google OAuth2 key> SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET=<Google OAuth2 secret> @@ -88,17 +89,14 @@ It it necessary to provide some configuration before deploying PEDASI. Deployment ^^^^^^^^^^ -You may now deploy PEDASI using the Ansible provisioning script. If you have set up your Ubuntu instance to use SSH passwordless access, do the following: +You may now deploy PEDASI using the Ansible provisioning script. If you have set up your Ubuntu instance to use SSH passwordless access, with passwordless sudo, do the following: .. code-block:: console $ ansible-playbook -v -i inventory.yml playbook.yml -u <your username on the remote host> -Otherwise, you will need Ansible to prompt for passwords for the remote user and superuser accounts: - -.. code-block:: console - - $ ansible-playbook -v -i inventory.yml playbook.yml -u <your username on the remote host> -k -K +If you need to provide a password to log in via SSH, add a `-k` flag. +If you need to provide a password to sudo, add a `-K` flag. Create Administrator Account -- GitLab