theforeman / theforeman.foreman / 4.0.0 / module / content_view_version_info Fetch information about Content Views | "added in version" 2.1.0 of theforeman.foreman" Authors: Eric Helms (@ehelms)theforeman.foreman.content_view_version_info (4.0.0) — module
Install with ansible-galaxy collection install theforeman.foreman:==4.0.0
collections: - name: theforeman.foreman version: 4.0.0
Fetch information about Content Views
- name: "Show a content view version" theforeman.foreman.content_view_version_info: username: "admin" password: "changeme" server_url: "https://foreman.example.com" content_view: "CentOS 8 View" search: 'version = "4.0"'
- name: "Show all content view_versions for a content view" theforeman.foreman.content_view_version_info: username: "admin" password: "changeme" server_url: "https://foreman.example.com" content_view: "CentOS 8 View"
search: description: - Search query to use - If None, all resources are returned. type: str location: description: - Label of the Location to scope the search for. required: false type: str password: description: - Password of the user accessing the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_PASSWORD) will be used instead. required: true type: str username: description: - Username accessing the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_USERNAME) will be used instead. required: true type: str server_url: description: - URL of the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_SERVER_URL) will be used instead. required: true type: str content_view: description: - Content View to which the Version belongs required: true type: str organization: description: - Name of the Organization to scope the search for. required: true type: str validate_certs: default: true description: - Whether or not to verify the TLS certificates of the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_VALIDATE_CERTS) will be used instead. type: bool
content_view_versions: description: List of all found content_view_versions and their details elements: dict returned: success and I(search) was passed type: list