mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 06:30:19 -07:00
PEP 8 W291 whitespace cleanup.
This commit is contained in:
parent
95789f3949
commit
d913f69ba1
166 changed files with 493 additions and 565 deletions
|
@ -27,7 +27,7 @@ ANSIBLE_METADATA = {'status': ['stableinterface'],
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: pkgutil
|
||||
module: pkgutil
|
||||
short_description: Manage CSW-Packages on Solaris
|
||||
description:
|
||||
- Manages CSW packages (SVR4 format) on Solaris 10 and 11.
|
||||
|
@ -112,7 +112,7 @@ def package_install(module, state, name, site, update_catalog):
|
|||
if site is not None:
|
||||
cmd += [ '-t', site ]
|
||||
if state == 'latest':
|
||||
cmd += [ '-f' ]
|
||||
cmd += [ '-f' ]
|
||||
cmd.append(name)
|
||||
(rc, out, err) = run_command(module, cmd)
|
||||
return (rc, out, err)
|
||||
|
@ -186,7 +186,7 @@ def main():
|
|||
else:
|
||||
if not package_latest(module, name, site):
|
||||
if module.check_mode:
|
||||
module.exit_json(changed=True)
|
||||
module.exit_json(changed=True)
|
||||
(rc, out, err) = package_upgrade(module, name, site, update_catalog)
|
||||
if len(out) > 75:
|
||||
out = out[:75] + '...'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue