---
#   Copyright Red Hat, Inc. All Rights Reserved.
#
#   Licensed under the Apache License, Version 2.0 (the "License"); you may
#   not use this file except in compliance with the License. You may obtain
#   a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#   WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#   License for the specific language governing permissions and limitations
#   under the License.
#

- name: Run puppet-openstack-integration scenario004 tests
  hosts: openstack_nodes
  force_handlers: True
  tasks:
    - include_role:
        name: "logs"
        tasks_from: "bootstrap"

    - block:
      - include_role:
          name: "puppet-openstack"
        vars:
          test: "scenario004"
      rescue:
        - debug:
            msg: "Failure detected when testing puppet-openstack-scenario004"
      always:
        - include_role:
            name: "logs"
            tasks_from: "recover"

Add playbook for new puppet-openstack-integration scenario004
Add playbook for new puppet-openstack-integration scenario004

Upstream p-o-i just merged a new integration test, scenario004.
For the time being, it's mostly focused around substituting swift
for radosgw.

Change-Id: I2082c5e094d169a95bc422de0f041e829d7f98da
