initial commit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
75891c3271
129 changed files with 8046 additions and 0 deletions
39
roles/docker_network/tasks/main.yml
Normal file
39
roles/docker_network/tasks/main.yml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
---
|
||||
# caddy is always deployed
|
||||
- name: Ensure caddy Docker network exists
|
||||
community.docker.docker_network:
|
||||
name: caddy
|
||||
state: present
|
||||
|
||||
- name: Ensure mail Docker networks exist
|
||||
community.docker.docker_network:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- mail
|
||||
- webmail
|
||||
when: enable_mail | default(true)
|
||||
|
||||
- name: Ensure monitoring Docker network exists
|
||||
community.docker.docker_network:
|
||||
name: monitoring
|
||||
state: present
|
||||
when: enable_monitoring | default(true)
|
||||
|
||||
- name: Ensure git Docker network exists
|
||||
community.docker.docker_network:
|
||||
name: git
|
||||
state: present
|
||||
when: enable_forgejo | default(true)
|
||||
|
||||
- name: Ensure tuwunel Docker network exists
|
||||
community.docker.docker_network:
|
||||
name: tuwunel
|
||||
state: present
|
||||
when: enable_tuwunel | default(true)
|
||||
|
||||
- name: Ensure radicale Docker network exists
|
||||
community.docker.docker_network:
|
||||
name: radicale
|
||||
state: present
|
||||
when: enable_radicale | default(false)
|
||||
Loading…
Add table
Add a link
Reference in a new issue