Role - kubeinit_okd

Role Documentation

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

Role Defaults

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

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

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


kubeinit_okd_registry_organization: openshift
kubeinit_okd_registry_repository: okd
kubeinit_okd_registry_release_tag: 4.6.0-0.okd-2020-11-27-200126
# The space after the first single quote is required, do not remove
# Something in Ansible appears to be recognizing this as valid Python,
# so it's getting transformed into a Python list and then serialized
# using Python's str(), which is why we end up with the single-quoted values.
kubeinit_okd_registry_pullsecret: '  {"auths":{"fakeregistry:5000":{"auth": "foo",
  "email": "bar"}}}'

  client:{{ kubeinit_okd_registry_release_tag
    }}/openshift-client-linux-{{ kubeinit_okd_registry_release_tag }}.tar.gz
  installer:{{ kubeinit_okd_registry_release_tag
    }}/openshift-install-linux-{{ kubeinit_okd_registry_release_tag }}.tar.gz

- haproxy
- httpd
- bind
- bind-utils
- nfs-utils
- wget
- git
- jq
- socat
- gcc
- make
- patch
- libgomp
- glibc-headers
- glibc-devel
- kernel-headers
- kernel-devel
- nano

Molecule Scenarios

Molecule is being used to test the “kubeinit_okd” 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_okd"
  - name: Message for "kubeinit_okd"
      msg: Finishing molecule for "kubeinit_okd"