From 176881738a9a21cdef631692549ad4175e2f5544 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Wed, 9 Dec 2020 19:27:14 +0100 Subject: [PATCH] Move tau-specific docker-env setup to main playbook --- main.yml | 10 ++++++++-- tasks/docker_env.yml | 10 ---------- 2 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 tasks/docker_env.yml diff --git a/main.yml b/main.yml index 85b6fad..50ed72e 100644 --- a/main.yml +++ b/main.yml @@ -49,8 +49,14 @@ - role: install-docker tasks: - - name: Setup Docker Environment - include_tasks: tasks/docker_env.yml + - 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 - name: Setup httpd include_tasks: tasks/httpd.yml diff --git a/tasks/docker_env.yml b/tasks/docker_env.yml deleted file mode 100644 index 3e05570..0000000 --- a/tasks/docker_env.yml +++ /dev/null @@ -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 - -