ansible.builtin.linode (v2.9.27) — inventory

Ansible dynamic inventory plugin for Linode.

| "added in version" 2.8 of ansible.builtin"

Authors: Luke Murphy (@lwm)

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Reads inventories from the Linode API v4.

Uses a YAML configuration file that ends with linode.(yml|yaml).

Linode labels are used by default as the hostnames.

The inventory groups are built from groups and not tags.


Requirements

Inputs

    
types:
    default: []
    description: Populate inventory with instances with this type.
    required: false
    type: list

plugin:
    choices:
    - linode
    description: marks this as an instance of the 'linode' plugin
    required: true

regions:
    default: []
    description: Populate inventory with instances in this region.
    required: false
    type: list

access_token:
    description: The Linode account personal access token.
    env:
    - name: LINODE_ACCESS_TOKEN
    required: true