use state parameter in examples

pull/18777/head
Dale Bewley 10 years ago committed by Matt Clay
parent b15a633103
commit 65d8fbd9ab

@ -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…
Cancel
Save