theforeman.foreman.scc_product (4.0.0) — module

Subscribe SUSE Customer Center Account Products

| "added in version" 1.0.0 of theforeman.foreman"

Authors: Manisha Singhal (@manisha15) ATIX AG

Install collection

Install with ansible-galaxy collection install theforeman.foreman:==4.0.0


Add to requirements.yml

  collections:
    - name: theforeman.foreman
      version: 4.0.0

Description

Manage SUSE Customer Center Products

This module requires the foreman_scc_manager plugin set up in the server

See U(https://github.com/ATIX-AG/foreman_scc_manager)


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: "Subscribe to suse customer center product"
  theforeman.foreman.scc_product:
    scc_product: "Product1"
    scc_account: "Test"
    organization: "Test Organization"

Inputs

    
password:
    description:
    - Password of the user accessing the Foreman server.
    - If the value is not specified in the task, the value of environment variable C(FOREMAN_PASSWORD)
      will be used instead.
    required: true
    type: str

username:
    description:
    - Username accessing the Foreman server.
    - If the value is not specified in the task, the value of environment variable C(FOREMAN_USERNAME)
      will be used instead.
    required: true
    type: str

server_url:
    description:
    - URL of the Foreman server.
    - If the value is not specified in the task, the value of environment variable C(FOREMAN_SERVER_URL)
      will be used instead.
    required: true
    type: str

scc_account:
    description: Name of the suse customer center account associated with product
    required: true
    type: str

scc_product:
    aliases:
    - friendly_name
    description:
    - Full name of the product of suse customer center account.
    - The I(friendly_name) alias is deprecated as it refers to an attribute that does
      not uniquely identify a product and not used for product lookups since SCC Manager
      1.8.6.
    required: true
    type: str

organization:
    description:
    - Organization that the entity is in
    required: true
    type: str

validate_certs:
    default: true
    description:
    - Whether or not to verify the TLS certificates of the Foreman server.
    - If the value is not specified in the task, the value of environment variable C(FOREMAN_VALIDATE_CERTS)
      will be used instead.
    type: bool