change network config
This commit is contained in:
@@ -2,3 +2,26 @@
|
||||
# adivinar nombre de release debian, por defecto usar buster
|
||||
docker_target_release: "{{ ansible_distribution_release if \
|
||||
ansible_distribution_release|default('NA') != 'NA' else 'buster' }}"
|
||||
|
||||
# configuracion de docker
|
||||
docker_config:
|
||||
|
||||
# red bridge (por defecto)
|
||||
bip: 172.17.0.1/16
|
||||
|
||||
# otras redes (https://github.com/moby/moby/pull/29376)
|
||||
default-address-pools:
|
||||
# scope local: usar 172.20.subnet.host
|
||||
- scope: local
|
||||
base: 172.20.0.0/16
|
||||
size: 24
|
||||
|
||||
# scope local: usar 192.168.subnet.host
|
||||
- scope: local
|
||||
base: 192.168.0.0/16
|
||||
size: 24
|
||||
|
||||
# scope global: usar 10.sub.net.host
|
||||
- scope: global
|
||||
base: 10.0.0.0/8
|
||||
size: 24
|
||||
|
||||
Reference in New Issue
Block a user