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_common_cluster_distro: k8s
kubeinit_common_cluster_name: watata
kubeinit_common_cluster_domain: kubeinit.local

- haproxy
- httpd
- bind
- bind-utils
- nfs-utils
- wget
- 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_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"
  - name: Message for "kubeinit_k8s"
      msg: Finishing molecule for "kubeinit_k8s"