redhat.satellite.provisioning_templates
This role creates and manages Provisioning Templates.
Role Variables
This role supports the Common Role Variables.
The main data structure for this role is the list of satellite_provisioning_templates. Each provisioning_template accepts fields according to the module provisioning_template.
Example Playbook
Create a custom template CloudInit vSphere using the file files/cloudinit_vsphere.erb and assign it to the
operating systems RedHat 7.9 and RedHat 8.5:
- hosts: localhost
roles:
- role: redhat.satellite.provisioning_templates
vars:
satellite_server_url: https://satellite.example.com
satellite_username: "admin"
satellite_password: "changeme"
satellite_provisioning_templates:
- name: CloudInit vSphere
template: "{{ lookup('file', 'cloudinit_vsphere.erb') }}"
operatingsystems:
- RedHat 7.9
- RedHat 8.5