Role - kubeinit_services

Role Documentation

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

Role Defaults

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

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

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

kubeinit_registry_directory: /var/kubeinit/registry
kubeinit_registry_directory_auth: '{{ kubeinit_registry_directory }}/auth'
kubeinit_registry_directory_cert: '{{ kubeinit_registry_directory }}/certs'

kubeinit_registry_domain_cert: '{{ kubeinit_registry_directory_cert }}/domain.crt'

kubeinit_registry_directories:
- '{{ kubeinit_registry_directory_auth }}'
- '{{ kubeinit_registry_directory_cert }}'

kubeinit_registry_pullsecret: "{{ '{\"auths\": {}}' | from_json }}"

kubeinit_registry_required_packages:
- python3
- python3-dns
- jq

kubeinit_registry_auth_file: registry-auths.json

Tasks files

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

Molecule Scenarios

Molecule is being used to test the “kubeinit_services” 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_services"
  tasks:
  - name: Message for "kubeinit_services"
    ansible.builtin.debug:
      msg: Finishing molecule for "kubeinit_services"