Increase Docker Network Count

This commit is contained in:
Tobias Manske 2023-04-17 17:47:15 +02:00
parent 3b6a6d6080
commit 050e2b39a0
Signed by: tobias
GPG Key ID: 9164B527694A0709
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,4 @@
{
"bip": "10.254.1.1/24",
"default-address-pools":[{"base":"10.254.0.0/17","size":26}]
}

View File

@ -1,3 +1,22 @@
- name: Setup Docker Config
hosts: host.nc.chaoswg.org
become: true
become_user: root
tasks:
- name: Template Config
ansible.builtin.template:
src: "docker-daemon.json.j2"
dest: /etc/docker/daemon.json
owner: root
group: root
mode: '0600'
register: docker_config
- name: Restart Docker
ansible.builtin.systemd:
state: restarted
name: docker.service
when: docker_config.changed
- name: Setup VPS
hosts: host.nc.chaoswg.org
vars: