summaryrefslogtreecommitdiffstats
path: root/xci/playbooks
diff options
context:
space:
mode:
Diffstat (limited to 'xci/playbooks')
-rw-r--r--xci/playbooks/prepare-functest.yml (renamed from xci/playbooks/run-functest.yml)4
-rw-r--r--xci/playbooks/roles/.gitignore2
-rw-r--r--xci/playbooks/roles/prepare-functest/defaults/main.yml (renamed from xci/playbooks/roles/run-functest/defaults/main.yml)0
-rw-r--r--xci/playbooks/roles/prepare-functest/tasks/main.yml (renamed from xci/playbooks/roles/run-functest/tasks/main.yml)3
-rw-r--r--xci/playbooks/roles/prepare-functest/templates/env.j2 (renamed from xci/playbooks/roles/run-functest/templates/env.j2)0
-rw-r--r--xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j2 (renamed from xci/playbooks/roles/run-functest/templates/run-functest.sh.j2)2
6 files changed, 4 insertions, 7 deletions
diff --git a/xci/playbooks/run-functest.yml b/xci/playbooks/prepare-functest.yml
index 8b3b29a1..6d5b01c6 100644
--- a/xci/playbooks/run-functest.yml
+++ b/xci/playbooks/prepare-functest.yml
@@ -13,8 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-- name: Prepare the environment for functest and run tests
+- name: Prepare the environment for functest
hosts: opnfv
user: root
roles:
- - role: "run-functest"
+ - role: "prepare-functest"
diff --git a/xci/playbooks/roles/.gitignore b/xci/playbooks/roles/.gitignore
index 5e72578c..e0b47770 100644
--- a/xci/playbooks/roles/.gitignore
+++ b/xci/playbooks/roles/.gitignore
@@ -3,6 +3,6 @@
!clone-repository/
!configure-network/
!configure-nfs/
-!run-functest/
+!prepare-functest/
!remote-folders/
!synchronize-time/
diff --git a/xci/playbooks/roles/run-functest/defaults/main.yml b/xci/playbooks/roles/prepare-functest/defaults/main.yml
index a3638302..a3638302 100644
--- a/xci/playbooks/roles/run-functest/defaults/main.yml
+++ b/xci/playbooks/roles/prepare-functest/defaults/main.yml
diff --git a/xci/playbooks/roles/run-functest/tasks/main.yml b/xci/playbooks/roles/prepare-functest/tasks/main.yml
index 3dc8e0bb..243358fc 100644
--- a/xci/playbooks/roles/run-functest/tasks/main.yml
+++ b/xci/playbooks/roles/prepare-functest/tasks/main.yml
@@ -34,6 +34,3 @@
state: present
with_items:
- wget
-
-- name: execute the script
- shell: "/root/run-functest.sh"
diff --git a/xci/playbooks/roles/run-functest/templates/env.j2 b/xci/playbooks/roles/prepare-functest/templates/env.j2
index 43a581bd..43a581bd 100644
--- a/xci/playbooks/roles/run-functest/templates/env.j2
+++ b/xci/playbooks/roles/prepare-functest/templates/env.j2
diff --git a/xci/playbooks/roles/run-functest/templates/run-functest.sh.j2 b/xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j2
index 016df8ef..c0b9bc88 100644
--- a/xci/playbooks/roles/run-functest/templates/run-functest.sh.j2
+++ b/xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j2
@@ -12,7 +12,7 @@ openstack --insecure subnet create --network {{ external_network }} \
--no-dhcp {{ subnet_name }}
mkdir ~/results/
-mkdir ~/images && cd ~/images && wget http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img && cd ~
+mkdir ~/images && cd ~/images && wget -q http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img && cd ~
sudo docker run --env-file env \
-v $(pwd)/openrc:/home/opnfv/functest/conf/env_file \