theforeman.foreman.content_view_filter – Manage Content View Filters¶
Note
This plugin is part of the theforeman.foreman collection (version 2.0.0).
To install it use: ansible-galaxy collection install theforeman.foreman
.
To use it in a playbook, specify: theforeman.foreman.content_view_filter
.
New in version 1.0.0: of theforeman.foreman
Parameters¶
Examples¶
- name: Exclude csh
theforeman.foreman.content_view_filter:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
name: "package filter 1"
organization: "Default Organization"
content_view: Web Servers
filter_type: "rpm"
package_name: tcsh
- name: Include newer csh versions
theforeman.foreman.content_view_filter:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
name: "package filter 1"
organization: "Default Organization"
content_view: Web Servers
filter_type: "rpm"
package_name: tcsh
min_version: 6.20.00
inclusion: True
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description | |
---|---|---|---|
entity
dictionary
|
success |
Final state of the affected entities grouped by their type.
|
|
content_view_filters
list
/ elements=dictionary
|
success |
List of content view filters.
|
Authors¶
Sean O’Keeffe (@sean797)