mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Some additional module cleanup of mistakes made during merging
This commit is contained in:
parent
6ba6819446
commit
fa5386c488
36 changed files with 183 additions and 183 deletions
0
lib/ansible/modules/cloud/centurylink/__init__.py
Normal file
0
lib/ansible/modules/cloud/centurylink/__init__.py
Normal file
|
@ -234,7 +234,7 @@ class LibvirtConnection(object):
|
|||
|
||||
self.module = module
|
||||
|
||||
conn = libvirt.open(uri)
|
||||
conn = libvirt.open(uri)
|
||||
|
||||
if not conn:
|
||||
raise Exception("hypervisor connection failure")
|
||||
|
@ -439,10 +439,10 @@ class VirtStoragePool(object):
|
|||
def list_pools(self, state=None):
|
||||
results = []
|
||||
for entry in self.conn.find_entry(-1):
|
||||
if state:
|
||||
if state:
|
||||
if state == self.conn.get_status2(entry):
|
||||
results.append(entry.name())
|
||||
else:
|
||||
else:
|
||||
results.append(entry.name())
|
||||
return results
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ options:
|
|||
description:
|
||||
- Information necessary to turn this server on / off.
|
||||
This often includes such things as IPMI username, password, and IP address.
|
||||
required: true
|
||||
required: true
|
||||
deploy:
|
||||
description:
|
||||
- Information necessary to deploy this server directly, without using Nova. THIS IS NOT RECOMMENDED.
|
||||
|
@ -91,7 +91,7 @@ options:
|
|||
management:
|
||||
description:
|
||||
- Information necessary to interact with this server's management interface. May be shared by power_info in some cases.
|
||||
required: true
|
||||
required: true
|
||||
nics:
|
||||
description:
|
||||
- 'A list of network interface cards, eg, " - mac: aa:bb:cc:aa:bb:cc"'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue