Role - kubeinit_nfs

Role Documentation

Welcome to the “kubeinit_nfs” role documentation.

Role Defaults

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

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

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

kubeinit_nfs_packages_aux: "{% if ( kubeinit_inventory_cluster_distro == 'rke' or\
  \ kubeinit_inventory_cluster_distro == 'cdk' ) %} nfs-kernel-server, nfs-common\
  \ {% else %} nfs-utils {% endif %}"
kubeinit_nfs_packages: "{{ kubeinit_nfs_packages_aux.split(',') }}"

Role Variables: main.yml

null
...

Molecule Scenarios

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