31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
---
|
|
# 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: Ensure we get the minimal subset of parameters
|
|
ansible.builtin.fail:
|
|
msg: "{{ item.k }} must be set to an actual value!"
|
|
when: item.v == '' or item.v == None
|
|
loop:
|
|
- k: 'tripleo_httpd_config_service'
|
|
v: "{{ tripleo_httpd_config_service }}"
|
|
|
|
- name: Gather fact subset
|
|
ansible.builtin.setup:
|
|
gather_subset:
|
|
- '!all'
|
|
- ansible.builtin.include_tasks: install.yml
|
|
- ansible.builtin.include_tasks: configure.yml
|