Skip to content

Commit

Permalink
Merge pull request #288 from vccw-team/fix-problem-for-deploy
Browse files Browse the repository at this point in the history
run playbook user 1000
  • Loading branch information
miya0001 authored Nov 6, 2017
2 parents 78124e2 + 1eb01b3 commit 13cdcf5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ vccw/vccw-xenial64:latest \
"/sbin/init"

docker exec --tty ${VCCW_HOSTNAME} env TERM=xterm chown ubuntu:ubuntu ${VM_DIR}
docker exec --tty ${VCCW_HOSTNAME} env TERM=xterm chmod 777 ${VM_DIR}

docker exec --user ubuntu --tty ${VCCW_HOSTNAME} \
env TERM=xterm ansible-playbook ${VM_DIR}/provision/playbook.yml -e "$(ruby $RUBY)"

docker exec --tty ${VCCW_HOSTNAME} env TERM=xterm rm -f ${VM_DIR}/wp-cli.yml

0 comments on commit 13cdcf5

Please sign in to comment.