summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/prepare-functest/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'xci/playbooks/roles/prepare-functest/tasks/main.yml')
-rw-r--r--xci/playbooks/roles/prepare-functest/tasks/main.yml32
1 files changed, 0 insertions, 32 deletions
diff --git a/xci/playbooks/roles/prepare-functest/tasks/main.yml b/xci/playbooks/roles/prepare-functest/tasks/main.yml
deleted file mode 100644
index 9a380cd1..00000000
--- a/xci/playbooks/roles/prepare-functest/tasks/main.yml
+++ /dev/null
@@ -1,32 +0,0 @@
----
-# SPDX-license-identifier: Apache-2.0
-##############################################################################
-# Copyright (c) 2017 SUSE Linux GmbH
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
-- name: check if the gateway was already set
- shell: "ip a | grep {{ gateway_ip }}"
- register: gateway_ip_result
- ignore_errors: True
-
-- name: add public network gateway
- command: "ip addr add {{ gateway_ip_mask }} brd {{ broadcast_ip }} dev {{ gateway_interface }}"
- when: gateway_ip_result|failed
-
-- name: prepare script to create networks for functest
- template:
- src: prepare-functest.sh.j2
- dest: /root/prepare-functest.sh
- mode: 0755
-
-- name: Create networks
- shell: "/root/prepare-functest.sh"
-
-- name: prepare environment file for functest
- template:
- src: env.j2
- dest: /root/env
- mode: 0755