From 2eed13885aafd59aaeba21cfba7d5ba6ce21a793 Mon Sep 17 00:00:00 2001 From: jacky06 Date: Sun, 16 Sep 2018 01:35:14 -0400 Subject: [PATCH] Add the "---" into ansible yaml file Change-Id: If4e684da58bffbe25d5bbed4dd4c56d0b5345114 Story: #2003783 Task: #26488 --- playbooks/integration/centos-image.yaml | 1 + playbooks/integration/cirros-image.yaml | 1 + playbooks/integration/exercise.yaml | 1 + playbooks/integration/post.yaml | 1 + playbooks/integration/pre.yaml | 1 + playbooks/integration/run.yaml | 1 + playbooks/integration/ssh-key.yaml | 1 + 7 files changed, 7 insertions(+) diff --git a/playbooks/integration/centos-image.yaml b/playbooks/integration/centos-image.yaml index 31a93bc..b3dc914 100644 --- a/playbooks/integration/centos-image.yaml +++ b/playbooks/integration/centos-image.yaml @@ -1,3 +1,4 @@ +--- - hosts: all environment: OS_CLOUD: devstack-admin diff --git a/playbooks/integration/cirros-image.yaml b/playbooks/integration/cirros-image.yaml index e5d6b08..2eb88c1 100644 --- a/playbooks/integration/cirros-image.yaml +++ b/playbooks/integration/cirros-image.yaml @@ -1,3 +1,4 @@ +--- - name: Find Cirros UEC image shell: openstack image list -f value -c Name | grep 'cirros-.*-uec$' register: cirros_uec_image_result diff --git a/playbooks/integration/exercise.yaml b/playbooks/integration/exercise.yaml index 8d9ddae..c9926d2 100644 --- a/playbooks/integration/exercise.yaml +++ b/playbooks/integration/exercise.yaml @@ -1,3 +1,4 @@ +--- - name: Create a port command: openstack port create --network private test-port when: metalsmith_precreate_port diff --git a/playbooks/integration/post.yaml b/playbooks/integration/post.yaml index 0f0f76a..c993889 100644 --- a/playbooks/integration/post.yaml +++ b/playbooks/integration/post.yaml @@ -1,3 +1,4 @@ +--- - hosts: all tasks: - name: Check that VM logs exist diff --git a/playbooks/integration/pre.yaml b/playbooks/integration/pre.yaml index 7fd9d84..6fda1d8 100644 --- a/playbooks/integration/pre.yaml +++ b/playbooks/integration/pre.yaml @@ -1,3 +1,4 @@ +--- - hosts: all roles: - run-devstack diff --git a/playbooks/integration/run.yaml b/playbooks/integration/run.yaml index 21d7196..3649fc0 100644 --- a/playbooks/integration/run.yaml +++ b/playbooks/integration/run.yaml @@ -1,3 +1,4 @@ +--- - hosts: all environment: OS_CLOUD: devstack-admin diff --git a/playbooks/integration/ssh-key.yaml b/playbooks/integration/ssh-key.yaml index 5ab216b..fb47591 100644 --- a/playbooks/integration/ssh-key.yaml +++ b/playbooks/integration/ssh-key.yaml @@ -1,3 +1,4 @@ +--- - name: Find a public SSH key file find: path: ~/.ssh/