Role - kubeinit_validations

Role Documentation

Welcome to the “kubeinit_validations” role documentation.

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

kubeinit_validations_libvirt_path: /var/lib/libvirt
kubeinit_validations_local_required_packages:
- python3-netaddr

Role Variables: main.yml

null
...

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
    debug:
      msg: "{{ msg.split('\n') }}"