romank8k.developer.local_inventory (1.0.0) — lookup

Authors: unknown

Install collection

Install with ansible-galaxy collection install romank8k.developer:==1.0.0


Add to requirements.yml

  collections:
    - name: romank8k.developer
      version: 1.0.0

Description

Serialize inventory with hosts defaulting to localhost.

Similar to `ansible-inventory --list --export --yaml`.

Outputs

_list:
  description:
  - Inventory with hosts replaced with localhost.