ehharvey.tailscale.current_devices (1.0.0) — inventory

Creates a dynamic inventory from current hosts on TailScale.

| "added in version" 1.0.0 of ehharvey.tailscale"

Authors: Emil Harvey (@ehharvey) <emil.h.harvey@outlook.com>

Install collection

Install with ansible-galaxy collection install ehharvey.tailscale:==1.0.0


Add to requirements.yml

  collections:
    - name: ehharvey.tailscale
      version: 1.0.0

Description

Creates a dynamic inventory from current hosts on TailScale.

Inputs

    
plugin:
    choices:
    - current_devices
    - ehharvey.tailscale.current_devices
    - tailscale.current_devices
    description: token that ensures this is a source file for the 'current_devices' plugin.
    required: false

api_key:
    description: TailScale API key.
    required: false

overwrite_ansible_host:
    choices:
    - true
    - false
    - ipv4
    - ipv6
    - hostname
    - fqdn
    default: false
    description: Overwrite ansible_host with the IP address of the host.
    required: false

match_inventory_hostname:
    default: hostname
    description: 'Key to use, for each device pulled from the TailScale API, to match
      device value against the inventory hostname.

      '
    required: false