theforeman / theforeman.foreman / 4.0.0 / module / scc_account Manage SUSE Customer Center Accounts | "added in version" 1.0.0 of theforeman.foreman" Authors: Manisha Singhal (@manisha15) ATIX AGtheforeman.foreman.scc_account (4.0.0) — module
Install with ansible-galaxy collection install theforeman.foreman:==4.0.0
collections: - name: theforeman.foreman version: 4.0.0
Manage SUSE Customer Center Accounts
This module requires the foreman_scc_manager plugin set up in the server
See U(https://github.com/ATIX-AG/foreman_scc_manager)
- name: "Create a suse customer center account" theforeman.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" theforeman.foreman.scc_account: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "Test1" state: present
- name: "Delete a suse customer center account" theforeman.foreman.scc_account: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "Test" state: absent
name: description: Name of the suse customer center account required: true type: str login: description: Login id of suse customer center account required: false type: str state: choices: - present - absent - synced default: present description: State of the suse customer center account type: str base_url: description: URL of SUSE for suse customer center account required: false type: str interval: choices: - never - daily - weekly - monthly description: Interval for syncing suse customer center account required: false type: str 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 sync_date: description: Last Sync time of suse customer center account required: false 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 organization: description: Name of related organization required: true type: str updated_name: description: Name to be updated of suse customer center account 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 test_connection: default: false description: Test suse customer center account credentials that connects to the server required: false type: bool scc_account_password: description: Password of suse customer center account required: false type: str
entity: contains: scc_accounts: description: List of scc accounts. elements: dict type: list description: Final state of the affected entities grouped by their type. returned: success type: dict