Role - kubeinit_k8s

Role Documentation

Welcome to the “kubeinit_k8s” role documentation.

Role Defaults

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

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

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

kubeinit_k8s_pod_network_cidr: 10.244.0.0/16
kubeinit_k8s_service_dependencies:
- haproxy
- httpd
- bind
- bind-utils
- nfs-utils
- wget
- jq
- socat
- gcc
- make
- patch
- libgomp
- glibc-headers
- glibc-devel
- kernel-headers
- kernel-devel
- nano

kubeinit_k8s_common_dependencies:
- wget

Role Variables: main.yml

null
...

Molecule Scenarios

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