mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-30 04:00:21 -07: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:
parent
a7371d4998
commit
bc6b96d42e
7 changed files with 20 additions and 31 deletions
|
@ -60,12 +60,13 @@ options:
|
|||
description:
|
||||
- A mapping of URLs to apps
|
||||
required: false
|
||||
default: []
|
||||
|
||||
subdomains:
|
||||
description:
|
||||
- A list of subdomains associated with this site.
|
||||
required: false
|
||||
default: null
|
||||
default: []
|
||||
|
||||
login_name:
|
||||
description:
|
||||
|
@ -94,12 +95,12 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
import socket
|
||||
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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue