terraform
docker swarm initialization
This commit is contained in:
commit
b8afb2ac64
10 changed files with 172 additions and 0 deletions
1
ansible/inventory/group_vars/all.yml
Normal file
1
ansible/inventory/group_vars/all.yml
Normal file
|
@ -0,0 +1 @@
|
|||
data_directory_base: /mnt/data
|
7
ansible/inventory/host_vars/manager.yml
Normal file
7
ansible/inventory/host_vars/manager.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
docker_node_labels:
|
||||
- hostname: maestro
|
||||
labels: {}
|
||||
- hostname: worker1
|
||||
labels: {}
|
||||
|
||||
data_directories: []
|
1
ansible/inventory/host_vars/worker1.yml
Normal file
1
ansible/inventory/host_vars/worker1.yml
Normal file
|
@ -0,0 +1 @@
|
|||
data_directories: []
|
9
ansible/inventory/hosts.yml
Normal file
9
ansible/inventory/hosts.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
all:
|
||||
hosts:
|
||||
manager:
|
||||
ansible_host: maestro.dmz
|
||||
children:
|
||||
workers:
|
||||
hosts:
|
||||
worker1:
|
||||
ansible_host: worker1.dmz
|
Reference in a new issue