Dave Bendit
d7686e1bc0
[docker_network] Add handling for Python booleans in driver_options ( #48105 )
...
Fixes #26708
2018-11-06 14:39:45 +00:00
Stephan Müller
00bab2d24d
[docker_network] add ipv6 support ( #47492 )
...
* [docker_network] add ipv6 support
* docker_network: review ipam_options
* docker_network: fix requirements
* docker_network: fix deprecation notice
* docker_network: add minimum docker version change
* docker_network: remove trailing whitespace
* docker_network: revert rename of network_four #discussion_r228707101
* docker_network: refactor IPAM config comparison #discussion_r228707255, #discussion_r228707280
* docker_network: correct spelling of IPv4 and IPv6 #discussion_r228707114, #discussion_r228707138
* docker_network: manually remove networks #discussion_r228709051
* docker_network: refactor enable_ipv6 condition #discussion_r228707317
* docker_network: add mutually_exclusive #discussion_r228707185
* docker_network: fix iprange #discussion_r228709072
* docker_network: add auxiliary addresses in examples and tests
* docker_network: link to docker docs #discussion_r228707018
* docker_network: remove list default #discussion_r228707060, #discussion_r228709091
* docker_network: introduce params syntax for create_network() #discussion_r228709031
* docker_network: beautify code
* docker_network: resolve change requests
* docker_network: add yaml header
* docker_networking: fix get_ip_version
* docker_network: extend CIDR test
* docker_network: use backported unittest2 for python 2.6
* docker_network: migrate unittest to pytest
2018-11-02 08:59:16 +10:00
Dave Bendit
29b4b36501
Adding "internal" option to "docker_network" module ( #35370 )
...
Fixes #27065
2018-10-23 07:49:26 +01:00
Valentin
2939f68897
Fix #33045 : get existing network via inspect_network (Rebased #33048 ) ( #43997 )
2018-10-23 01:14:51 -04:00
Felix Fontein
32e8251f86
docker_* modules: unify docker module version checks ( #47046 )
...
* Unify docker module version checks.
* Improve messages depending on required docker-py versions.
* Linting.
2018-10-18 10:51:58 +01:00
Felix Fontein
95cfcac694
docker-py: bump minimal version to 1.8.0 ( #46134 )
...
* Bumping docker-py minimal version to 1.8.0.
* Improve docs formatting.
2018-09-26 11:58:32 +05:30
Felix Fontein
ed22efb2a6
Clarify that uninstalling docker-py can break docker (and vice versa). ( #43238 )
2018-08-28 17:53:43 +01:00
Felix Fontein
765a5130d5
Docker modules: improve documentation on docker vs. docker-py Python package requirements ( #42457 )
...
* Make sure all docker-py/docker requirements are listed, and clarify about docker vs. docker-py.
* Adjusting changes made in #40839 .
2018-07-11 17:57:39 -04:00
Dag Wieers
cdd21e2170
Clean up module documentation ( #36909 )
...
* Clean up module documentation
This PR includes:
- Removal of `default: None` (and variations)
- Removal of `required: false`
- Fixing booleans and `type: bool` where required
* Fix remaining (new) validation issues
2018-03-15 22:15:24 +01:00
skylerbunny
d984afa5ba
Add compatibility for docker-py version 3 ( #36973 )
2018-03-06 07:14:31 -05:00
John Barker
c57a7f05e1
Bulk autopep8 (modules)
...
As agreed in 2017-12-07 Core meeting bulk fix pep8 issues
Generated using:
autopep8 1.3.3 (pycodestyle: 2.3.1)
autopep8 -r --max-line-length 160 --in-place --ignore E305,E402,E722,E741 lib/ansible/modules
Manually fix issues that autopep8 has introduced
2017-12-07 20:25:55 +00:00
Abdul Anshad A
272c0ce68c
fixes #5732 - Add support for using network ID ( #22503 )
2017-08-30 17:32:45 -04:00
Stephen Jennings
be2d4cc1c9
Check for an existing docker_network before trying to modify it ( #24048 )
...
This eliminates a TypeError in check mode.
2017-08-23 12:10:53 -04:00
Toshio Kuratomi
f203ca7907
Update metadata to 1.1
2017-08-15 23:12:08 -07:00
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
Nikolay Murga
3610a2457f
Fixed #21464 - docker_network: TypeError with existing network ( #24266 )
...
Fixed #22530 - docker_network Failed but Overlay network created successfully on Docker swarm mode
2017-05-24 14:21:24 -07:00
Alex Willmer
1ac17213ea
Rename fact returned by docker_network to avoid restricted prefix ( #23919 )
...
This fixes #23918
2017-04-28 08:45:53 -05:00
Andrea Tartaglia
1d0a629dcc
Fixed docs for cloud modules ( #23745 )
...
* Fixed docs for cloud modules
* removed blank line in ec2_snapshot_facts
2017-04-27 12:01:11 +01:00
Dylan Silva
9ffad27319
Changed supported_by from curated to community ( #22654 )
2017-03-15 14:28:33 -07: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
John R Barker
e5b990a55a
Fix invalid fields in module DOCUMENATION ( #22297 )
...
* fix module doc fields
* More module docs corrections
* More module docs corrections
* More module docs corrections
* More module docs corrections
* correct aliases
* Review comments
* Must quote ':'
* More authors
* Use suboptions:
* restore type: bool
* type should be in the same place
* More tidyups
* authors
* Use suboptions
* revert
* remove duplicate author
* More issues post rebase
2017-03-09 16:20:25 +00:00
dariko
e2a1ce2916
[docker] Add compatibility with docker-py v2.0
2017-01-18 14:39:18 -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
Toshio Kuratomi
7319104552
Refreshed metadata for core modules
2016-12-08 11:25:35 -05:00
John R Barker
25b6492d37
Bulk spelling improvement to modules-core ( #5225 )
...
* Correct spelling mistakes
* Correct more spelling issues
* merge conflict
* Revert typo in parms
2016-12-08 11:25:20 -05:00
chouseknecht
1b4a3dbc86
Fix doc strings. Use of > was breaking HTML generation on docs site module page.
2016-12-08 11:24:52 -05:00
Chris Houseknecht
a8111adcd6
Some post merge clean up: ( #4406 )
...
- Removed required_if.
- Fixed doc strings.
- Removed debug output being appended to actions.
- Put import of basics at bottom to be consistent with other docker modules
- Added 'containers' alias to 'connected' param
- Put facts in ansible_facts.ansible_docker_network
2016-12-08 11:24:50 -05:00
Brian Coca
94486c5c77
doc fix
2016-12-08 11:24:50 -05:00
Chris Houseknecht
af3884f558
Adding docker_network module. ( #4404 )
2016-12-08 11:24:50 -05:00