Role - kubeinit_registry

Role Documentation

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

Role Defaults

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

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

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

kubeinit_registry_user: registryusername
kubeinit_registry_password: registrypassword

kubeinit_registry_service_name: kubeinit-registry

kubeinit_registry_port: 5000
kubeinit_registry_host: '{{ kubeinit_registry_service_node }}'
kubeinit_registry_fqdn: '{{ kubeinit_registry_host }}.{{ kubeinit_cluster_fqdn }}'
kubeinit_registry_fqdn_alt: registry.{{ kubeinit_cluster_fqdn }}
kubeinit_registry_uri: '{{ kubeinit_registry_fqdn }}:{{ kubeinit_registry_port }}'

Molecule Scenarios

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