Skip to content

Ansible Role For Registering SLES Systems With SUSEConnect

Notifications You must be signed in to change notification settings

rcalv002/ansible-role-suseconnect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUSEConnect

Use this role to connect a SUSE Linux system to the SUSE Customer Center or a local SMT server. You can also specify which add-on products are to be registered.

Requirements

You'll need the registration key that came with your SUSE subscription. For some products you'll need extra registration keys. You'll also need to know the internal product name of the product you're trying to register. I'll try to provide a full list in PRODUCTS.md.

Role Variables

You can set the following variables:

Variable Type Description
suseconnect_products: list products that should be activated on the target system
  - product: string internal product name, see PRODUCTS.md for a list
    version: string product version that should be activated, defaults to the major version of the base os
    arch: string architecture of the product to be actived, defaults to the arch of the OS (ansible_machine)
    key: string if the product needs an additional registration key
suseconnect_reregister: bool register all products regardless of current status
suseconnect_remove_subscriptions: bool remove currently registered products, absent in suseconnect_products

This variable is used, but should not be set by the user:

Variable Type Description
suseconnect_binary: string path of the SUSEConnect binary

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
     - role: b1-systems.suseconnect
       vars:
         suseconnect_products:
           - product: 'SUSE-Manager-Server'
             version: '4.0'
             key: '123SUMAKEY34'
           - product: 'sle-module-web-scripting'
             version: '15.1'
           - product: 'sle-module-python2'
             version: '15.1'

License

GPLv3

Author Information

Sebastian Meyer (meyer@b1-systems.de) B1 Systems GmbH

About

Ansible Role For Registering SLES Systems With SUSEConnect

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published