Move tau-specific docker-env setup to main playbook
This commit is contained in:
parent
164d717ffe
commit
176881738a
2 changed files with 8 additions and 12 deletions
10
main.yml
10
main.yml
|
@ -49,8 +49,14 @@
|
||||||
- role: install-docker
|
- role: install-docker
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Setup Docker Environment
|
- name: Setup docker network
|
||||||
include_tasks: tasks/docker_env.yml
|
docker_network:
|
||||||
|
name: dockernet
|
||||||
|
driver: bridge
|
||||||
|
ipam_config:
|
||||||
|
- subnet: 192.168.0.0/24
|
||||||
|
gateway: 192.168.0.1
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Setup httpd
|
- name: Setup httpd
|
||||||
include_tasks: tasks/httpd.yml
|
include_tasks: tasks/httpd.yml
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
- name: Setup docker network
|
|
||||||
docker_network:
|
|
||||||
name: dockernet
|
|
||||||
driver: bridge
|
|
||||||
ipam_config:
|
|
||||||
- subnet: 192.168.0.0/24
|
|
||||||
gateway: 192.168.0.1
|
|
||||||
state: present
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue