Split main playbook into all and tau.netz39.de

This commit is contained in:
Stefan Haun 2020-12-09 19:21:48 +01:00
parent 44f208e4c6
commit 0de49174e6

View file

@ -1,13 +1,10 @@
---
- hosts: tau
- hosts: all
become: true
vars:
ansible_python_interpreter: /usr/bin/python3
docker_compose_version: "1.25.4"
docker_compose_path: /usr/local/bin/docker-compose
roles:
- role: ansible.timezone
@ -37,10 +34,21 @@
include_role:
name: users
- name: Install Docker
include_role:
name: install-docker
- hosts: tau.netz39.de
become: true
vars:
ansible_python_interpreter: /usr/bin/python3
docker_compose_version: "1.25.4"
docker_compose_path: /usr/local/bin/docker-compose
roles:
- role: install-docker
tasks:
- name: Setup Docker Environment
include_tasks: tasks/docker_env.yml