d_strobel.windows.dhcp_option_value_v4 (1.4.0) — module

Add, remove or change an IPv4 option value.

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 value.

Inputs

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

value:
    description:
    - The value to set.
    elements: str
    required: true
    type: list

scope_id:
    description:
    - The identifier of the scope for which the value should be set.
    - Only one of C(scope_id) or C(reserved_ip) can be set.
    required: false
    type: str

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

reserved_ip:
    description:
    - The reserverd ip fo which the value shoud be set.
    - Only one of C(scope_id) or C(reserved_ip) can be set.
    required: false
    type: str