Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating planner's db for the existing gtk_db_user #192

Merged
merged 2 commits into from
Apr 16, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions roles/vnv/tasks/tng-vnv-planner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

- debug: msg="##### VnV Planner Deployment {{ lookup('pipe', 'date +%Y%m%d-%H%M%S') }}"

- name: create planner's database for {{ gtk_db_user }}
shell: /usr/bin/docker run --net={{ docker_network_name }} -i -e DATABASE_HOST=son-postgres -e DATABASE_PORT=5432 -e POSTGRES_PASSWORD={{ gtk_db_pass }} -e POSTGRES_USER={{ gtk_db_user }} -e POSTGRES_DB={{ gtk_db_name }} --rm=true {{ repository }}/tng-gtk-usr:{{ version }} createdb -O {{ gtk_db_user }} {{ planner_db_name }}
#- name: create planner's database for {{ gtk_db_user }}
# shell: /usr/bin/docker run -it son-postgres psql -U {{ gtk_db_user }} -W {{ gtk_db_pass }} -c 'createdb -O {{ gtk_db_user }} {{ planner_db_name }};'

# Running the 5GTANGO VnV Planner (Docker container)

Expand Down