feat: decom docker network
This commit is contained in:
parent
bea55e77bb
commit
1b804e1b66
3 changed files with 1 additions and 11 deletions
|
|
@ -1,9 +1,5 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
# create network
|
|
||||||
- name: "create network"
|
|
||||||
ansible.builtin.import_tasks: "network.yaml"
|
|
||||||
|
|
||||||
# install omni
|
# install omni
|
||||||
- name: "install omni"
|
- name: "install omni"
|
||||||
ansible.builtin.import_tasks: "omni.yaml"
|
ansible.builtin.import_tasks: "omni.yaml"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
# create network
|
|
||||||
- name: "docker create omni network"
|
|
||||||
community.docker.docker_network:
|
|
||||||
name: "omni"
|
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
restart_policy: "unless-stopped"
|
restart_policy: "unless-stopped"
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
networks:
|
networks:
|
||||||
- name: "omni"
|
- name: "bridge"
|
||||||
|
|
||||||
capabilities:
|
capabilities:
|
||||||
- "NET_ADMIN"
|
- "NET_ADMIN"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue