Role - kubeinit_nexus

Role Documentation

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

Role Defaults

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

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

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

kubeinit_nexus_service_name: kubeinit-nexus

kubeinit_nexus_directory: /var/kubeinit/nexus
kubeinit_nexus_directory_data: '{{ kubeinit_nexus_directory }}/data'

kubeinit_nexus_directories:
- '{{ kubeinit_nexus_directory_data }}'

kubeinit_nexus_registry_port: 5001
kubeinit_nexus_host: '{{ kubeinit_nexus_service_node }}'
kubeinit_nexus_fqdn: '{{ kubeinit_nexus_host }}.{{ kubeinit_inventory_cluster_name
  }}.{{ kubeinit_inventory_cluster_domain }}'
kubeinit_nexus_fqdn_alt: nexus.{{ kubeinit_inventory_cluster_name }}.{{ kubeinit_inventory_cluster_domain
  }}
kubeinit_nexus_uri: '{{ kubeinit_nexus_fqdn }}:{{ kubeinit_nexus_port }}'

Molecule Scenarios

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