blob: 1158e4e76f5a21bc4ebbebce11ee03ffa569527e [file] [log] [blame]
# Copyright (c) 2022 VEXXHOST, Inc.
#
# 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.
dependency:
name: shell
command: "${MOLECULE_SCENARIO_DIRECTORY}/tools/install-dependencies"
driver:
name: delegated
platforms:
- name: ctl1
groups: &controller_groups
- controllers
- name: ctl2
groups: *controller_groups
- name: ctl3
groups: *controller_groups
- name: nvme1
groups: &nvme_groups
- cephs
- name: nvme2
groups: *nvme_groups
- name: nvme3
groups: *nvme_groups
- name: kvm1
groups: &kvm_groups
- computes
- name: kvm2
groups: *kvm_groups
provisioner:
name: ansible
options:
inventory: "${MOLECULE_EPHEMERAL_DIRECTORY}/workspace"
config_options:
ssh_connection:
pipelining: true
ssh_args: -o ControlMaster=auto -o ControlPersist=270s -o ServerAliveInterval=15
inventory:
links:
host_vars: "${MOLECULE_SCENARIO_DIRECTORY}/host_vars"
group_vars: "${MOLECULE_SCENARIO_DIRECTORY}/group_vars"
verifier:
name: ansible