tripleo-ansible/tripleo_ansible/roles/tripleo_multipathd/molecule/custom_config/verify.yml
Alan Bishop 1af2cde366 Add tripleo_multipathd role
A new tripleo_multipathd role is responsible for preparing and
configuring an overcloud node to run multipathd in a container.
- Host prep tasks ensure any existing multipathd service is disabled
  on the host.
- /etc/multipath.conf configuration is controlled via ansible variables
  supplied by tripleo's OS::TripleO::Services::Multipathd service.
- The multipathd container is restarted whenever the configuration
  changes.

Change-Id: Icf9faff31d83f0ea77d00a59a53d6ad36b06da4f
2020-10-19 07:59:52 -07:00

28 lines
902 B
YAML

---
# Copyright 2020 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 the default verify playbook
import_playbook: ../default/verify.yml
- name: Verify (custom)
hosts: all
gather_facts: false
tasks:
- name: Verify the custom setting is present
command: grep 'custom_variable custom_value' /etc/multipath.conf
changed_when: false