Playbook #2


Report Status CLI Date Duration Controller User Versions Hosts Plays Tasks Results Files Records
05 May 2024 02:12:42 +0000 00:03:32.38 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 3 10 356 414 23 1

File: /root/.ansible/collections/ansible_collections/kubeinit/kubeinit/roles/kubeinit_prepare/tasks/prepare_hypervisors.yml

# Copyright kubeinit contributors
# 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
# 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: Gather hosts facts and stop the deployment if required
    - name: Gather kubeinit facts if needed
      ansible.builtin.include_tasks: gather_kubeinit_facts.yml
        facts_prepared: "{{ 'kubeinit_facts' in groups }}"
      when: not facts_prepared

    - name: Stop the deployment if required
        - name: "Stop before 'task-prepare-hypervisors' when requested"
            name: "kubeinit-facts"
            playbook_terminated: true
        - name: End play
          ansible.builtin.meta: end_play
      when: kubeinit_stop_before_task is defined and kubeinit_stop_before_task == 'task-prepare-hypervisors'
  tags: omit_from_grapher