Skip to content

Commit 0ea31ad

Browse files
author
Sergei Antipov
committed
Changed ansible_user for tests
Problem with ansible connection type 'docker' solved for Travis CI tests.
1 parent 48fcd56 commit 0ea31ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/hosts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
localhost ansible_connection=local ansible_python_interpreter=python2
33

44
[mongo_master]
5-
mongo1 ansible_connection=docker ansible_python_interpreter=python2
5+
mongo1 ansible_connection=docker ansible_user=root ansible_python_interpreter=python2
66

77
[mongo_replicas]
8-
mongo2 ansible_connection=docker ansible_python_interpreter=python2
9-
mongo3 ansible_connection=docker ansible_python_interpreter=python2
8+
mongo2 ansible_connection=docker ansible_user=root ansible_python_interpreter=python2
9+
mongo3 ansible_connection=docker ansible_user=root ansible_python_interpreter=python2
1010

1111
[mongo:children]
1212
mongo_master

0 commit comments

Comments
 (0)