add: ip-gate service to container vpn

This commit is contained in:
2024-11-28 14:18:20 +00:00
parent 9b27125752
commit 9b2d37854a
3 changed files with 169 additions and 5 deletions

View File

@@ -60,20 +60,29 @@
- name: Create compose directories
file:
name: "/opt/certificate-manager/"
name: "/opt/{{ item }}/"
state: directory
with_items:
- certificate-manager
- atlantis-ip-gate
- name: Copy compose templates
template:
src: "certificate-manager.yaml"
dest: "/opt/certificate-manager/"
src: "{{ item }}.yaml"
dest: "/opt/{{ item }}/"
with_items:
- certificate-manager
- atlantis-ip-gate
- name: Deploy compose templates
community.docker.docker_compose:
project_src: "/opt/certificate-manager/"
project_src: "/opt/{{ item }}/"
pull: true
files:
- "certificate-manager.yaml"
- "{{ item }}.yaml"
with_items:
- certificate-manager
- atlantis-ip-gate
# setup oauth proxy #
- name: include services ports