Role - kubeinit_dnsmasq

Role Documentation

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

Role Defaults

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

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

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

kubeinit_dnsmasq_service_name: kubeinit-dnsmasq

kubeinit_dnsmasq_directory: /var/kubeinit/dnsmasq
kubeinit_dnsmasq_directory_conf: '{{ kubeinit_dnsmasq_directory }}/conf'

kubeinit_dnsmasq_directories:
- '{{ kubeinit_dnsmasq_directory_conf }}'

kubeinit_dnsmasq_config_file: '{{ kubeinit_dnsmasq_directory_conf }}/dnsmasq.cfg'

Molecule Scenarios

Molecule is being used to test the “kubeinit_dnsmasq” 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_dnsmasq"
  tasks:
  - name: Message for "kubeinit_dnsmasq"
    ansible.builtin.debug:
      msg: Finishing molecule for "kubeinit_dnsmasq"