Fixup VMware module docs issues (#36409)

Fix various argspec vs documentation issue
This commit is contained in:
John R Barker 2018-02-21 15:20:42 +00:00 committed by GitHub
commit 5d0ed38e3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 137 additions and 215 deletions

View file

@ -56,7 +56,7 @@ options:
autostart:
description:
- Whether the app should restart with an autostart.cgi script
required: false
type: bool
default: "no"
extra_info:
@ -68,7 +68,7 @@ options:
port_open:
description:
- IF the port should be opened
required: false
type: bool
default: false
login_name:
@ -91,12 +91,12 @@ options:
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}}
machine={{webfaction_machine}}
name: "my_wsgi_app1"
state: present
type: mod_wsgi35-python27
login_name: "{{webfaction_user}}"
login_password: "{{webfaction_passwd}}"
machine: "{{webfaction_machine}}"
'''
import xmlrpclib

View file

@ -106,7 +106,7 @@ def main():
name=dict(required=True),
state=dict(required=False, choices=['present', 'absent'], default='present'),
# You can specify an IP address or hostname.
type=dict(required=True),
type=dict(required=True, choices=['mysql', 'postgresql']),
password=dict(required=False, default=None, no_log=True),
login_name=dict(required=True),
login_password=dict(required=True, no_log=True),

View file

@ -53,10 +53,7 @@ options:
https:
description:
- Whether or not to use HTTPS
required: false
choices:
- true
- false
type: bool
default: 'false'
site_apps: