redhat.satellite.organizations
This role creates and manages organizations.
Role Variables
This role supports the Common Role Variables.
The main data structure for this role is the list of satellite_organizations
. Each organization
requires the following fields:
name
: The name of the organization.
The following fields are optional in the sense that the server will use default values when they are omitted:
label
: The label of the organization.description
: The description of the organization.state
: The state of the organization. Can bepresent
orabsent
.
Additionally you can pass any other parameters accepted by the organization
module.
Example Playbooks
---
- name: add organizations to foreman
hosts: localhost
gather_facts: false
roles:
- role: redhat.satellite.organizations
vars:
satellite_server_url: https://satellite.example.com
satellite_username: admin
satellite_password: changeme
satellite_organizations:
- name: raleigh
label: rdu
state: present
- name: default
label: boring
state: absent
- name: lanai
description: pacific datacenter