Skip to content

RedHatOfficial/ansible-role-redhat_satellite6_organizations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name

Ansible role for configuring everything about the Organizations in Satellite 6. Including but not neccisarly limited to:

  • Create Organization(s)
  • Upload Manfiest
  • Create Lifecycle Environment Paths
  • Enable Repositories
  • Create Sync Plans

Role Variables

parameter required default comment
satellite_api_basion Yes
satellite_username Yes
satellite_password Yes
satellite_url Yes
satellite_organizations Yes

satellite_organizations

Details about the satellite_organizations role variable dictionary.

key comment
name
manifest
lifecycle_environment_paths
repositories
sync_plans
immediate_sync_products
content_views

Example Playbook

- name: Satellite 6 Configuration Example
  host: localhost
  vars:
    satellite_api_basion: localhost
    satellite_username: ansible-tower
    satellite_password: NAPSR0cks!
    satellite_url: https://satellite.rhc-lab.iad.redhat.com
    satellite_organizations:
    - name: IanTest
      manifest: files/manifest_IAN_TEST_20180708T164433Z.zip
      lifecycle_environment_paths:
      - environments:
        - dev
        - test
        - prod
      - environments:
        - foo
        - bar
      repositories:
      - name: Red Hat Enterprise Linux 7 Server (RPMs) product: Red Hat Enterprise Linux Server
        basearch: x86_64
        releasever: "7Server"
      - name: Red Hat Enterprise Linux 7 Server - Extras (RPMs)
        product: Red Hat Enterprise Linux Server
        basearch: x86_64
      - name: Red Hat Enterprise Linux 7 Server - Optional (RPMs)
        product: Red Hat Enterprise Linux Server
        basearch: x86_64
        releasever: "7Server"
      - name: Red Hat Enterprise Linux 7 Server - Supplementary (RPMs)
        product: Red Hat Enterprise Linux Server
        basearch: x86_64
        releasever: "7Server"
      - name: Red Hat Satellite Tools 6.3 - Puppet 4 (for RHEL 7 Server) (RPMs)
        product: Red Hat Enterprise Linux Server
        basearch: x86_64
      - name: Red Hat Satellite 6.3 - Puppet 4 (for RHEL 7 Server) (RPMs)
        product: Red Hat Satellite
        basearch: x86_64
      - name: Red Hat Satellite Capsule 6.3 - Puppet 4 (for RHEL 7 Server) (RPMs)
        product: Red Hat Satellite Capsule
        basearch: x86_64
      - name: Red Hat OpenShift Container Platform 3.9 (RPMs)
        product: Red Hat OpenShift Container Platform
        basearch: x86_64
      - name: Red Hat CloudForms Management Engine 5.9 (RPMs)
        product: Red Hat CloudForms
        basearch: x86_64
      - name: Red Hat Ansible Engine 2.6 RPMs for Red Hat Enterprise Linux 7 Server
        product: Red Hat Ansible Engine
        basearch: x86_64
      sync_plans:
      - name: All - Nightly
        interval: daily
        products:
        - name: Red Hat Enterprise Linux Server
        - name: Red Hat Satellite
        - name: Red Hat Satellite Capsule
        - name: Red Hat OpenShift Container Platform
        - name: Red Hat CloudForms
        - name: Red Hat Ansible Engine
      immediate_sync_products:
      - Red Hat Enterprise Linux Server
      - Red Hat Satellite
      - Red Hat Satellite Capsule
      - Red Hat OpenShift Container Platform
      - Red Hat CloudForms
      - Red Hat Ansible Engine
      content_views:
      - name: rhel7
        repositories:
        - name: Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server
          product: Red Hat Enterprise Linux Server
        - name: Red Hat Satellite Tools 6.3 - Puppet 4 for RHEL 7 Server RPMs x86_64
          product: Red Hat Enterprise Linux Server
      - name: rhel7_additional
        repositories:
        - name: Red Hat Enterprise Linux 7 Server - Optional RPMs x86_64 7Server
          product: Red Hat Enterprise Linux Server
        - name: Red Hat Enterprise Linux 7 Server - Supplementary RPMs x86_64 7Server
          product: Red Hat Enterprise Linux Server
        - name: Red Hat Enterprise Linux 7 Server - Extras RPMs x86_64
          product: Red Hat Enterprise Linux Server
      - name: cfme59
        repositories:
        - name: Red Hat CloudForms Management Engine 5.9 RPMs x86_64
          product: Red Hat CloudForms
      - name: ocp39
        repositories:
        - name: Red Hat OpenShift Container Platform 3.8 RPMs x86_64
          product: Red Hat OpenShift Container Platform
        - name: Red Hat OpenShift Container Platform 3.9 RPMs x86_64
          product: Red Hat OpenShift Container Platform
      - name: ansible26
        repositories:
        - name: Red Hat Ansible Engine 2.6 RPMs for Red Hat Enterprise Linux 7 Server x86_64
          product: Red Hat Ansible Engine
      - name: sat_cap63
        repositories:
        - name: Red Hat Satellite Capsule 6.3 - Puppet 4 for RHEL 7 Server RPMs x86_64
          product: Red Hat Satellite Capsule
  roles:
  - redhat_satellite6_organizations

About

Ansible role for configuring everything about the Organizations in Satellite 6.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages