aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/setup.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/setup.yaml')
-rw-r--r--tests/integration/setup.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/integration/setup.yaml b/tests/integration/setup.yaml
new file mode 100644
index 00000000..784d6cc5
--- /dev/null
+++ b/tests/integration/setup.yaml
@@ -0,0 +1,21 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Corporation and others.
+#
+# 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
+##############################################################################
+
+# Prepare connection to SUT (System Under Test)
+- hosts: fuel-master
+ gather_facts: no
+ tasks:
+ - name: collect facts of fuel hosts
+ fuel:
+ - name: update inventory file
+ template: src=./hosts.j2 dest=./hosts
+ delegate_to: localhost
+ - name: update ssh.cfg file
+ template: src=./ssh.cfg.j2 dest=./ssh.cfg
+ delegate_to: localhost