Split main playbook into all and tau.netz39.de
This commit is contained in:
parent
44f208e4c6
commit
0de49174e6
1 changed files with 15 additions and 7 deletions
22
main.yml
22
main.yml
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue