add missing driver option to docker_networks module

This commit is contained in:
Robert Kaussow 2020-06-15 08:23:32 +02:00
parent 9920f0d478
commit 87f2cbdd2e
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -54,6 +54,7 @@
- name: Create docker networks - name: Create docker networks
docker_network: docker_network:
name: "{{ item.name }}" name: "{{ item.name }}"
driver: "{{ item.driver | default('bridge') }}"
enable_ipv6: "{{ item.enable_ipv6 | default(False) }}" enable_ipv6: "{{ item.enable_ipv6 | default(False) }}"
ipam_config: "{{ item.ipam_config | default(omit) }}" ipam_config: "{{ item.ipam_config | default(omit) }}"
force: "{{ item.force | default(omit) }}" force: "{{ item.force | default(omit) }}"