mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
10.0.0: remove deprecated features (#8918)
* Remove pool option from redhat_subscription. * Remove proxmox_default_behavior option from proxmox_kvm. * Remove the logging option from ejabberd_user. * Remove the ack_params_state_absent option from consul. * irc: change defaults of use_tls and validate_certs to true. * rhsm_repository: remove states present and absent. * Re-add 'using'. * Fix typo.
This commit is contained in:
parent
84e0190eee
commit
fe18b05f08
10 changed files with 29 additions and 368 deletions
|
@ -432,73 +432,6 @@ TEST_CASES = [
|
|||
'msg': "System successfully registered to 'None'."
|
||||
}
|
||||
],
|
||||
# Test of registration using username and password and attach to pool
|
||||
[
|
||||
{
|
||||
'state': 'present',
|
||||
'username': 'admin',
|
||||
'password': 'admin',
|
||||
'org_id': 'admin',
|
||||
'pool': 'ff8080816b8e967f016b8e99632804a6'
|
||||
},
|
||||
{
|
||||
'id': 'test_registeration_username_password_pool',
|
||||
'run_command.calls': [
|
||||
(
|
||||
['/testbin/subscription-manager', 'identity'],
|
||||
{'check_rc': False},
|
||||
(1, 'This system is not yet registered.', '')
|
||||
),
|
||||
(
|
||||
[
|
||||
'/testbin/subscription-manager',
|
||||
'register',
|
||||
'--org', 'admin',
|
||||
'--username', 'admin',
|
||||
'--password', 'admin'
|
||||
],
|
||||
{'check_rc': True, 'expand_user_and_vars': False},
|
||||
(0, '', '')
|
||||
),
|
||||
(
|
||||
[
|
||||
'subscription-manager list --available',
|
||||
{'check_rc': True, 'environ_update': {'LANG': 'C', 'LC_ALL': 'C', 'LC_MESSAGES': 'C'}},
|
||||
(0,
|
||||
'''
|
||||
+-------------------------------------------+
|
||||
Available Subscriptions
|
||||
+-------------------------------------------+
|
||||
Subscription Name: SP Server Premium (S: Premium, U: Production, R: SP Server)
|
||||
Provides: SP Server Bits
|
||||
SKU: sp-server-prem-prod
|
||||
Contract: 0
|
||||
Pool ID: ff8080816b8e967f016b8e99632804a6
|
||||
Provides Management: Yes
|
||||
Available: 5
|
||||
Suggested: 1
|
||||
Service Type: L1-L3
|
||||
Roles: SP Server
|
||||
Service Level: Premium
|
||||
Usage: Production
|
||||
Add-ons:
|
||||
Subscription Type: Standard
|
||||
Starts: 06/25/19
|
||||
Ends: 06/24/20
|
||||
Entitlement Type: Physical
|
||||
''', ''),
|
||||
]
|
||||
),
|
||||
(
|
||||
'subscription-manager attach --pool ff8080816b8e967f016b8e99632804a6',
|
||||
{'check_rc': True},
|
||||
(0, '', '')
|
||||
)
|
||||
],
|
||||
'changed': True,
|
||||
'msg': "System successfully registered to 'None'."
|
||||
}
|
||||
],
|
||||
# Test of registration using username and password and attach to pool ID and quantities
|
||||
[
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue