d_strobel.windows.dhcp_option_definition_v4 (1.4.0) — module

Add, remove or change an IPv4 option definition.

Authors: Dustin Strobel (@d-strobel)

Install collection

Install with ansible-galaxy collection install d_strobel.windows:==1.4.0


Add to requirements.yml

  collections:
    - name: d_strobel.windows
      version: 1.4.0

Description

Add, remove or change an IPv4 option definition.

Inputs

    
name:
    description:
    - Specify the name of the option.
    required: true
    type: str

type:
    choices:
    - byte
    - word
    - dword
    - dworddword
    - ipv4address
    - string
    - binarydata
    - encapsulateddata
    description:
    - Define the value type for the option.
    required: true
    type: str

state:
    choices:
    - absent
    - present
    default: present
    description:
    - Set to C(present) to ensure the failover is present.
    - Set to C(absent) to ensure the failover is removed.
    type: str

option_id:
    description:
    - The identifier of the option.
    required: true
    type: str

description:
    description:
    - Specify a description.
    required: false
    type: str

multi_valued:
    default: false
    description:
    - Set to C(true) if the option can have multiple values.
    - Set to C(false) if the option can only have one value (default).
    required: false
    type: bool

vendor_class:
    description:
    - Specify if the option belongs to a vendor class.
    required: false
    type: str

default_value:
    description:
    - Specify a default value for the option.
    required: false
    type: str