webfaction modules: fix broken import (#35024)

* webfaction_app: fix broken import
* doc: use formatting functions
* webaction_db: fix broken import
* webfaction_domain: fix broken import
* webfaction_mailbox: fix broken import
* webaction_site: fix broken import
* webfaction modules: fix doc
This commit is contained in:
Pilou 2018-03-07 15:22:06 +01:00 committed by Matt Clay
parent a7371d4998
commit bc6b96d42e
7 changed files with 20 additions and 31 deletions

View file

@ -55,7 +55,7 @@ options:
description:
- The password for the new database user.
required: false
default: None
default: null
login_name:
description:
@ -70,7 +70,7 @@ options:
machine:
description:
- The machine name to use (optional for accounts with only one machine)
required: false
default: false
'''
EXAMPLES = '''
@ -91,12 +91,11 @@ EXAMPLES = '''
'''
import xmlrpclib
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six.moves import xmlrpc_client
webfaction = xmlrpclib.ServerProxy('https://api.webfaction.com/')
webfaction = xmlrpc_client.ServerProxy('https://api.webfaction.com/')
def main():