Toshio Kuratomi
1ee08c0f06
Get rid of more wildcard imports and add boilerplate to more modules
...
This commit cleans up the following module categories:
* messaging
* inventory
* crypto
* commands
* clustering
* cloud/webfaction
* cloud/docker
* cloud/digital_ocean
2017-07-29 07:02:12 -07:00
Toshio Kuratomi
225fa5d092
Fix undefined variables, basestring usage, and some associated python3 issues
2017-07-25 15:58:23 -07:00
Steffen Neubauer
759750e661
Consul: make service_port optional in service definition, like specified in Consul docs ( #21737 )
...
* Consul: make service_port optional in service definition, Fixes #21727
* Remove consul module from legacy-files.txt
* consul: Pep8 fixes
2017-06-19 19:29:40 +01:00
Andrea Tartaglia
d1517f997a
fixed RETURN docs for modules ( #24011 )
...
* fixed RETURN docs for remaining modules
* updated proxymysql_mysql_users 'sample' to yaml dict
* fixed whitespace errors
2017-04-26 15:56:13 +01:00
Matt Martz
3164e8b561
E501 fixes ( #22879 )
2017-03-22 20:50:28 -05:00
Toshio Kuratomi
eb1214baad
New metadata 1.0 ( #22587 )
...
Changes to the metadata format were approved here:
https://github.com/ansible/proposals/issues/54
* Update documentation to the new metadata format
* Changes to metadata-tool to account for new metadata
* Add GPL license header
* Add upgrade subcommand to upgrade metadata version
* Change default metadata to the new format
* Fix exclusion of non-modules from the metadata report
* Fix ansible-doc for new module metadata
* Exclude metadata version from ansible-doc output
* Fix website docs generation for the new metadata
* Update metadata schema in valiate-modules test
* Update the metadata in all modules to the new version
2017-03-14 09:07:22 -07:00
Brian Coca
5258e6d52a
use safe load instead
...
fixes #21724
2017-02-21 17:45:46 -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
cb76200c7d
PEP 8 E111 & E114 cleanup. ( #20838 )
2017-01-30 15:01:47 -08:00
Andreas Mosti
bc432b4001
Example of usage in znode documentation #20816
2017-01-30 14:41:44 -05:00
Matt Clay
10d9318de7
PEP 8 indent cleanup. ( #20800 )
...
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
2017-01-29 07:28:53 +00:00
Matt Clay
d0d1158c5e
PEP 8 cleanup. ( #20789 )
...
* PEP 8 E703 cleanup.
* PEP 8 E701 cleanup.
* PEP 8 E711 cleanup.
* PEP 8 W191 and E101 cleanup.
2017-01-28 00:12:11 -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
mathieu bultel
962a592628
Add pacemaker cluster module for being managable with ansible ( #19594 )
...
* Add pacemaker cluster module for being managable with ansible
* fix yaml syntax in documentation
* Remove useless dependency
* Import AnsibleModule instead of import *
2017-01-03 15:50:00 +00:00
Carlos E. Garcia
0b8011436d
minor spelling changes
2016-12-13 13:51:13 -05:00
Andrea Tartaglia
ef391a11ec
Removed dict.iteritems() in modules. ( #18859 )
...
This is for py3 compatibility, addressed in #18506
2016-12-12 15:16:23 -08:00
Fabio Alessandro Locati
ee27c688fd
Unquote strings that do not need quotes and retab - clustering/consul.py ( #18834 )
2016-12-09 08:49:43 -05:00
Matt Davis
cb1888125d
add metadata to doc support ( #18802 )
...
fix broken module docs
change doc AST id extraction to use == instead of in
2016-12-08 11:35:20 -05:00
Matt Clay
851b264fb0
Add missing znode module description.
2016-12-08 11:35:20 -05:00
James Cammarata
011ea55a8f
Relocating extras into lib/ansible/modules/ after merge
2016-12-08 11:35:18 -05:00