theforeman.foreman.subnet_info – Fetch information about Subnets¶
Note
This plugin is part of the theforeman.foreman collection (version 2.1.2).
To install it use: ansible-galaxy collection install theforeman.foreman
.
To use it in a playbook, specify: theforeman.foreman.subnet_info
.
New in version 2.1.0: of theforeman.foreman
Parameters¶
Examples¶
- name: "Show a subnet"
theforeman.foreman.subnet_info:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
name: "subnet.example.com"
- name: "Show all subnets with domain example.com"
theforeman.foreman.subnet_info:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
search: "domain = example.com"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Evgeni Golov (@evgeni)