Skip to content

Commit

Permalink
only display admin password when it exists (ie created)
Browse files Browse the repository at this point in the history
  • Loading branch information
emillon committed Oct 30, 2014
1 parent 99ec620 commit a9dc7dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions devops/roles/dbserver/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@

- name: display admin password
debug: var=admin_password.stdout
when: createdbuser.changed

- name: run DB migrations
action: command env VIRTUAL_ENV={{webapps_dir}}/{{app_name}}/venv {{webapps_dir}}/{{app_name}}/venv/bin/python {{webapps_dir}}/{{app_name}}/src/manage.py -c {{app_config_file}} db upgrade
Expand Down

0 comments on commit a9dc7dd

Please sign in to comment.