Gather information about Equinix Metal facilities
Version added: 1.4.0
- Gather information about Equinix Metal facilities.
- API is documented at https://metal.equinix.com/developers/api/facilities/.
The below requirements are needed on the host that executes this module.
- packet-python >= 1.43.1
# All the examples assume that you have your Equinix Metal API token in env var METAL_API_TOKEN.
# You can also pass it to the api_token parameter of the module instead.
- name: Gather information about all facilities
hosts: localhost
tasks:
- equinix.metal.facility_info:
- name: Gather information about a particular facility using ID
hosts: localhost
tasks:
- equinix.metal.facility_info:
ids:
- 173d7f11-f7b9-433e-ac40-f1571a38037a
Common return values are documented here, the following are the fields unique to this module:
- Jason DeTiberus (@detiber) <jdetiberus@equinix.com>