use state parameter in examples
This commit is contained in:
parent
e8edee4166
commit
449ced1efa
1 changed files with 2 additions and 2 deletions
|
@ -63,11 +63,11 @@ options:
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Register as user (joe_user) with password (somepass) and auto-subscribe to available content.
|
# Register as user (joe_user) with password (somepass) and auto-subscribe to available content.
|
||||||
- redhat_subscription: action=register username=joe_user password=somepass autosubscribe=true
|
- redhat_subscription: state=present username=joe_user password=somepass autosubscribe=true
|
||||||
|
|
||||||
# Register with activationkey (1-222333444) and consume subscriptions matching
|
# Register with activationkey (1-222333444) and consume subscriptions matching
|
||||||
# the names (Red hat Enterprise Server) and (Red Hat Virtualization)
|
# the names (Red hat Enterprise Server) and (Red Hat Virtualization)
|
||||||
- redhat_subscription: action=register
|
- redhat_subscription: state=present
|
||||||
activationkey=1-222333444
|
activationkey=1-222333444
|
||||||
pool='^(Red Hat Enterprise Server|Red Hat Virtualization)$'
|
pool='^(Red Hat Enterprise Server|Red Hat Virtualization)$'
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue