foreman_scc_account – Manage Foreman SccAccount

Synopsis

Requirements

The below requirements are needed on the host that executes this module.

  • apypie

Parameters

Parameter Choices/Defaults Comments
base_url
string
URL of SUSE for suse customer center account
interval
string
    Choices:
  • never
  • daily
  • weekly
  • monthly
Interval for syncing suse customer center account
login
string
Login id of suse customer center account
name
string / required
Name of the suse customer center account
organization
string / required
Name of related organization
password
string / required
Password of the user accessing the Foreman server
scc_account_password
string
Password of suse customer center account
server_url
string / required
URL of the Foreman server
state
string
    Choices:
  • present ←
  • absent
  • synced
State of the suse customer center account
sync_date
string
Last Sync time of suse customer center account
test_connection
boolean
    Choices:
  • no ←
  • yes
Test suse customer center account credentials that connects to the server
updated_name
string
Name to be updated of suse customer center account
username
string / required
Username accessing the Foreman server
validate_certs
boolean
    Choices:
  • no
  • yes ←
Whether or not to verify the TLS certificates of the Foreman server

aliases: verify_ssl

Examples

- name: "Create a suse customer center account"
  foreman_scc_account:
    username: "admin"
    password: "changeme"
    server_url: "https://foreman.example.com"
    name: "Test"
    login: "abcde"
    scc_account_password: "12345"
    base_url: "https://scc.suse.com"
    state: present

- name: "Update a suse customer center account"
  foreman_scc_account:
    username: "admin"
    password: "changeme"
    server_url: "https://foreman.example.com"
    name: "Test1"
    state: present

- name: "Delete a suse customer center account"
  foreman_scc_account:
    username: "admin"
    password: "changeme"
    server_url: "https://foreman.example.com"
    name: "Test"
    state: absent

Status

Authors

  • Manisha Singhal (@manisha15) ATIX AG

Hint

If you notice any issues in this documentation, you can edit this document to improve it.