menandmice.ansible_micetro.dhcp (1.0.7) — module

Manage DHCP reservations on the Micetro

| "added in version" 2.7 of menandmice.ansible_micetro"

Authors: Ton Kersten <t.kersten@atcomputing.nl> for Men&Mice

Install collection

Install with ansible-galaxy collection install menandmice.ansible_micetro:==1.0.7


Add to requirements.yml

  collections:
    - name: menandmice.ansible_micetro
      version: 1.0.7

Description

Manage DHCP reservations on the Micetro

Inputs

    
name:
    description:
    - Name of the reservation
    required: true
    type: str

state:
    choices:
    - absent
    - present
    default: present
    description: The state of the reservation.
    required: false
    type: bool

ddnshost:
    description: The dynamic DNS host to place the entry in.
    required: false
    type: str

filename:
    description: Filename to place the entry in.
    required: false
    type: str

ipaddress:
    description:
    - The IP address(es) to make a reservation on.
    - When the IP address is changed a new reservation is made.
    - It is not allowed to make reservations in DHCP blocks.
    elements: str
    required: true
    type: list

macaddress:
    description: MAC address for the IP address.
    required: true
    type: str

nextserver:
    description: Next server as DHCP option (bootp).
    required: false
    type: str

servername:
    description: Server to place the entry in.
    required: false
    type: str

mm_provider:
    description: Definition of the Micetro API mm_provider.
    required: true
    suboptions:
      mm_password:
        description: password to login with into the API.
        no_log: true
        required: true
        type: str
      mm_url:
        description: Men&Mice API server to connect to.
        required: true
        type: str
      mm_user:
        description: userid to login with into the API.
        required: true
        type: str
    type: dict

deleteunspecified:
    description: Clear properties that are not explicitly set.
    required: false
    type: bool

Outputs

message:
  description: The output message from the Men&Mice System.
  returned: always
  type: str