Role - kubeinit_nfs

Role Documentation

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

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_host: '{{ kubeinit_nfs_service_address }}'

kubeinit_nfs_packages_aux: "{% if ( hostvars[kubeinit_deployment_node_name].os ==\
  \ 'ubuntu' or hostvars[kubeinit_deployment_node_name].os == 'debian' ) %} nfs-kernel-server,\
  \ nfs-common {% else %} nfs-utils {% endif %}"
kubeinit_nfs_packages: "{{ kubeinit_nfs_packages_aux.split(',') }}"

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"
  - name: Message for "kubeinit_nfs"
      msg: Finishing molecule for "kubeinit_nfs"