b6cc4a511d
* When registration, fails automatically run recovery tasks to ensure a successful registration * Add rhsm_repository module to role to allow using the role with Anisble < 2.5 * Add feature to rhsm_repository module to purge repos not listed in the task * Change how the role handles multiple repositories for much faster execution time * Update README with information on new repo behavior and purge option Change-Id: I8a0b20bf72fb56426b51b94e9936f6174d43c248
45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
# These parameters aren't required, so no default is provided:
|
|
# rhsm_username: joe
|
|
# rhsm_password: secrete
|
|
# rhsm_activation_key: AAA-BBB-CCC-DDD
|
|
# rhsm_ord_id: 1234
|
|
# rhsm_autosubscribe: yes # or no (note it's mutually exclusive to rhsm_activation_key)
|
|
|
|
rhsm_state: present # present or absent
|
|
rhsm_method: portal # portal or satellite
|
|
rhsm_force_register: False
|
|
|
|
rhsm_repos: []
|
|
|
|
## /etc/rhsm/rhsm.conf settings
|
|
rhsm_rhsm_port: 443
|
|
rhsm_server_hostname: subscription.rhn.redhat.com
|
|
rhsm_server_prefix: "{{ '/rhsm' if rhsm_method == 'satellite' else '/subscription' }}"
|
|
rhsm_insecure: False
|
|
rhsm_ssl_verify_depth: 3
|
|
# rhsm_rhsm_proxy_hostname: ""
|
|
# rhsm_rhsm_proxy_port: ""
|
|
# rhsm_rhsm_proxy_user: ""
|
|
# rhsm_rhsm_proxy_password: ""
|
|
rhsm_baseurl: https://cdn.redhat.com
|
|
rhsm_satellite_url: "{{ rhsm_baseurl | urlsplit('scheme') ~ '://' ~ rhsm_baseurl | urlsplit('hostname') }}"
|
|
rhsm_ca_cert_dir: /etc/rhsm/ca/
|
|
rhsm_product_cert_dir: /etc/pki/product
|
|
rhsm_entitlement_cert_dir: /etc/pki/entitlement
|
|
rhsm_consumer_cert_dir: /etc/pki/consumer
|
|
rhsm_manage_repos: True
|
|
rhsm_full_refresh_on_yum: False
|
|
rhsm_report_package_profile: True
|
|
rhsm_plugin_dir: /usr/share/rhsm-plugins
|
|
rhsm_plugin_conf_dir: /etc/rhsm/pluginconf.d
|
|
rhsm_cert_check_interval: 240
|
|
rhsm_auto_attach_interval: 1440
|
|
rhsm_logging:
|
|
default: INFO
|
|
# subscription_manager: DEBUG
|
|
# subscription_manager_managercli: DEBUG
|
|
# rhsm: DEBUG
|
|
# rhsm_connection: DEBUG
|
|
# rhsm_app: DEBUG
|
|
# rhsm_app_rhsmd: DEBUG
|