Robin Roth
82eaa9735c
Add try/except around xml parsing in zypper
...
Zypper sometimes produces invalid XML. Catch that in a nicer way.
Potential future improvement: Work around broken XML by removing some
sections.
2017-02-13 12:28:22 -05:00
Matt Martz
829c0b8f62
Update validate-modules ( #20932 )
...
* Update validate-modules
* Validates ANSIBLE_METADATA
* Ensures imports happen after documentation vars
* Some pep8 cleanup
* Clean up some left over unneeded code
* Update modules for new module guidelines and validate-modules checks
* Update imports for ec2_vpc_route_table and ec2_vpc_nat_gateway
2017-02-02 11:45:22 -08:00
Matt Clay
95789f3949
PEP 8 whitespace cleanup. ( #20783 )
...
* PEP 8 E271 whitespace cleanup.
* PEP 8 W293 whitespace cleanup.
* Fix whitespace issue from recent PR.
2017-01-27 15:45:23 -08:00
Robin Roth
4976429e42
Zypper: Fix update_cache in checkmode ( #20143 )
...
Fixes #20139
Refresh does not support dry-run, so don't run it in check mode.
Also add a test for this case.
2017-01-11 18:47:16 +00:00
Robin Roth
e4bfc2b84c
Add ZYPP_LOCK_TIMEOUT environment example ( #20130 )
...
Retries to require lock for zypper operation.
2017-01-11 18:30:18 +00:00
Toshio Kuratomi
08d6990e67
Fix code-blocks to use correct syntax highlighting
2017-01-08 09:18:45 -08:00
James Cammarata
011ea55a8f
Relocating extras into lib/ansible/modules/ after merge
2016-12-08 11:35:18 -05:00