Role - kubeinit_okd

Role Documentation

Welcome to the “kubeinit_okd” role documentation.

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.5.0-0.okd-2020-10-15-235428
# 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

Role Variables: main.yml


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"