theforeman.foreman.content_view_info – Fetch information about Content Views¶
Note
This plugin is part of the theforeman.foreman collection (version 2.1.1).
To install it use: ansible-galaxy collection install theforeman.foreman
.
To use it in a playbook, specify: theforeman.foreman.content_view_info
.
New in version 2.1.0: of theforeman.foreman
Parameters¶
Examples¶
- name: "Show a content_view"
theforeman.foreman.content_view_info:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
name: "CentOS 8"
- name: "Show all content_views with name CentOS 8"
theforeman.foreman.content_view_info:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
search: 'name = "CentOS 8"'
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Eric Helms (@ehelms)