Role - kubeinit_validations

Role Documentation

Please, refer to the kubeinit_validations role official docs for further information.

Role Defaults

This section highlights all of the defaults and variables set within the “kubeinit_validations” role.

# All variables intended for modification should be placed in this file.

# All variables within this role should have a prefix of "kubeinit_validations_"
kubeinit_validations_debug: '{{ (ansible_verbosity | int) >= 2 | bool }}'
kubeinit_validations_hide_sensitive_logs: true

# The validation will fail if the libvirt path is not found
kubeinit_validations_libvirt_path: /var/lib/libvirt
# If libvirt is not installed we will compare with the
# space available in the parent folder.
kubeinit_validations_libvirt_path_fallback: /var/lib
kubeinit_validations_local_required_packages:
- python3-netaddr

Tasks files

This section highlights all the documentation available in the tasks files.

Molecule Scenarios

Molecule is being used to test the “kubeinit_validations” role. The following section highlights the drivers in service and provides an example playbook showing how the role is leveraged.

Scenario: default

Driver: docker:
Example default playbook
- name: Converge
  hosts: all
  # roles:
  #   - role: "kubeinit_validations"
  tasks:
  - name: Message
    vars:
      msg: |
        Finishing the execution of
        the test
    ansible.builtin.debug:
      msg: "{{ msg.split('\n') }}"