use state parameter in examples

This commit is contained in:
Dale Bewley 2014-12-04 17:31:35 -08:00 committed by Matt Clay
parent b15a633103
commit 65d8fbd9ab

View file

@ -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)$'
''' '''