mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user