modules: fix examples to use FQCN (#644)

* modules: fix examples to use FQCN

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-13 22:50:31 +03:00 committed by GitHub
parent 8b92e0454d
commit 41cfdda6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
533 changed files with 2130 additions and 2130 deletions

View file

@ -197,11 +197,11 @@ requirements:
EXAMPLES = '''
- name: Create a network
docker_network:
community.general.docker_network:
name: network_one
- name: Remove all but selected list of containers
docker_network:
community.general.docker_network:
name: network_one
connected:
- container_a
@ -209,25 +209,25 @@ EXAMPLES = '''
- container_c
- name: Remove a single container
docker_network:
community.general.docker_network:
name: network_one
connected: "{{ fulllist|difference(['container_a']) }}"
- name: Add a container to a network, leaving existing containers connected
docker_network:
community.general.docker_network:
name: network_one
connected:
- container_a
appends: yes
- name: Create a network with driver options
docker_network:
community.general.docker_network:
name: network_two
driver_options:
com.docker.network.bridge.name: net2
- name: Create a network with custom IPAM config
docker_network:
community.general.docker_network:
name: network_three
ipam_config:
- subnet: 172.3.27.0/24
@ -238,21 +238,21 @@ EXAMPLES = '''
host2: 172.3.27.4
- name: Create a network with labels
docker_network:
community.general.docker_network:
name: network_four
labels:
key1: value1
key2: value2
- name: Create a network with IPv6 IPAM config
docker_network:
community.general.docker_network:
name: network_ipv6_one
enable_ipv6: yes
ipam_config:
- subnet: fdd1:ac8c:0557:7ce1::/64
- name: Create a network with IPv6 and custom IPv4 IPAM config
docker_network:
community.general.docker_network:
name: network_ipv6_two
enable_ipv6: yes
ipam_config:
@ -260,7 +260,7 @@ EXAMPLES = '''
- subnet: fdd1:ac8c:0557:7ce2::/64
- name: Delete a network, disconnecting all containers
docker_network:
community.general.docker_network:
name: network_one
state: absent
force: yes