summaryrefslogtreecommitdiffstats
path: root/tests/integration/setup.yaml
blob: 784d6cc54f771fe7a09fbfd1f55dd2738d1190be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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