diff options
author | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-03-03 13:34:16 +0200 |
---|---|---|
committer | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-03-12 14:07:19 +0200 |
commit | e9fca5ef39ebdc51d4d0f1af175960fb51cd903e (patch) | |
tree | dec12146af5b5e00eed0ffbd0b5ea1c920853c52 /ansible/run_playbook.sh | |
parent | bdababf6496d20be5723740041b63a1855535c32 (diff) |
Improve certificates role testability
Move certs source path to defaults and make other small re-factoring.
Issue-ID: OOM-1694
Change-Id: Ie0a4b543b40314dc5a7772dd4667b1ad218d3543
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Diffstat (limited to 'ansible/run_playbook.sh')
-rwxr-xr-x | ansible/run_playbook.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/run_playbook.sh b/ansible/run_playbook.sh index 2edbe358..3bc56b3c 100755 --- a/ansible/run_playbook.sh +++ b/ansible/run_playbook.sh @@ -103,7 +103,7 @@ if [ -n "$ANSIBLE_DOCKER_IMAGE" ] ; then -v "${HOME}"/.ssh:/root/.ssh:rw \ -v "$ANSIBLE_DIR:/ansible:ro" \ -v "$ANSIBLE_DIR/application:/ansible/application:rw" \ - -v "$ANSIBLE_DIR/certs/:/certs:rw" \ + -v "$ANSIBLE_DIR/certs/:/ansible/certs:rw" \ -v "$ANSIBLE_DIR/log/:/ansible/log:rw" \ -e ANSIBLE_LOG_PATH \ -it "${ANSIBLE_DOCKER_IMAGE}" "$@" @@ -129,7 +129,7 @@ fi --mount ro:"$ANSIBLE_DIR":/ansible \ --mount rw:"$ANSIBLE_DIR"/application:/ansible/application \ --mount rw:"$ANSIBLE_DIR"/log:/ansible/log \ - --mount rw:"$ANSIBLE_DIR"/certs:/certs \ + --mount rw:"$ANSIBLE_DIR"/certs:/ansible/certs \ --mount ro:/etc/resolv.conf:/etc/resolv.conf \ --mount ro:/etc/hosts:/etc/hosts \ --workdir /ansible \ |