Add examples.

This commit is contained in:
Quentin Stafford-Fraser 2015-05-10 22:07:49 +01:00 committed by Matt Clay
commit 6739578742
3 changed files with 40 additions and 0 deletions

View file

@ -63,6 +63,16 @@ options:
required: true
'''
EXAMPLES = '''
- name: Create a test app
webfaction_app:
name="my_wsgi_app1"
state=present
type=mod_wsgi35-python27
login_name={{webfaction_user}}
login_password={{webfaction_passwd}}
'''
import xmlrpclib
webfaction = xmlrpclib.ServerProxy('https://api.webfaction.com/')