Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the PULP_SECRET_KEY= variable needs different logic
| @@ -1 +1,3 @@ | |||
| export DJANGO_SETTINGS_MODULE=pulpcore.app.settings | |||
| export PULP_DEBUG=True | |||
| export PULP_SECRET_KEY=$(cat /dev/urandom | tr -dc 'a-z0-9!@#$%^&*(\-_=+)' | head -c 50) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't this change every time you logged in? Also mind the missing new line ;)
|
@dparalen Thanks for the review! I updated it to only generate the key once. |
|
@dkliban thanks for the update! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM mod the nit; installed the env for me OK:
(pulp) [vagrant@pulp3 pulp]$ dynaconf list | grep PULP
ENVVAR_FOR_DYNACONF: 'PULP_SETTINGS'
GLOBAL_ENV_FOR_DYNACONF: 'PULP'
INSTALLED_PULP_PLUGINS: ['pulp_file']
(pulp) [vagrant@pulp3 pulp]$
ansible/roles/dev/tasks/main.yml
Outdated
| @@ -138,16 +138,16 @@ | |||
| - name: Install server.yaml Config file | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit(-ish): would you mind s/Install server .yaml Config file/Install server Dynaconf file/ or so?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dkliban
LGTM
No description provided.