From 0ea31ad34976da388eb7a39f7fe960d9240c2443 Mon Sep 17 00:00:00 2001 From: Sergei Antipov Date: Sat, 7 May 2016 23:13:47 +0600 Subject: [PATCH] Changed ansible_user for tests Problem with ansible connection type 'docker' solved for Travis CI tests. --- tests/hosts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/hosts b/tests/hosts index 0f93008..042b5ed 100644 --- a/tests/hosts +++ b/tests/hosts @@ -2,11 +2,11 @@ localhost ansible_connection=local ansible_python_interpreter=python2 [mongo_master] -mongo1 ansible_connection=docker ansible_python_interpreter=python2 +mongo1 ansible_connection=docker ansible_user=root ansible_python_interpreter=python2 [mongo_replicas] -mongo2 ansible_connection=docker ansible_python_interpreter=python2 -mongo3 ansible_connection=docker ansible_python_interpreter=python2 +mongo2 ansible_connection=docker ansible_user=root ansible_python_interpreter=python2 +mongo3 ansible_connection=docker ansible_user=root ansible_python_interpreter=python2 [mongo:children] mongo_master