Skip to content

Commit 7883012

Browse files
author
Bryan Kendall
committed
cleanup variables
1 parent f061e13 commit 7883012

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

ansible/group_vars/alpha-link.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ container_envs: >
2121
2222
container_run_opts: >
2323
-h {{ name }}
24-
-d {{ container_envs }}
24+
-d
25+
{{ container_envs }}
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# database vars
22
name: mongo-navi
33

4-
db_path: "/opt/mongodb/db"
4+
db_path: /opt/mongodb/db
55

66
# container_kill_start settings
77
container_image: mongo
8-
container_tag: "latest"
9-
container_run_opts: "-d --name {{ name }} -p 27017:27017 -v {{ db_path }}:/data/db:rw"
8+
container_tag: latest
9+
container_run_opts: >
10+
-h {{ name }}
11+
-d
12+
-p 27017:27017
13+
-v {{ db_path }}:/data/db:rw

0 commit comments

Comments
 (0)