theforeman.foreman.content_view_publish

Publish a list of Content Views.

Role Variables

This role supports the Common Role Variables.

Required

  • foreman_content_views: List of content views to publish

Example Playbook

- hosts: localhost
  roles:
    - role: theforeman.foreman.content_view
      vars:
        foreman_server_url: https://foreman.example.com
        foreman_username: "admin"
        foreman_password: "changeme"
        foreman_organization: "Default Organization"
        foreman_content_views:
          - RHEL 7 View
          - RHEL 8 View