Add ansible hazelcast applications provisionning into docker hosts
This commit is contained in:
parent
f70970f0e4
commit
22751914e1
1
applications/.gitignore
vendored
Normal file
1
applications/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
workspace/
|
7
applications/hazelcast/playbook.yml
Normal file
7
applications/hazelcast/playbook.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
|
||||
- hosts: all
|
||||
roles:
|
||||
- docker_hazelcast
|
||||
|
||||
...
|
6
applications/hazelcast/requirements.yml
Normal file
6
applications/hazelcast/requirements.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
|
||||
collections:
|
||||
- name: community.general
|
||||
|
||||
...
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
|
||||
- name: start hazelcast container
|
||||
community.general.docker_container:
|
||||
name: "member-{{ index }}"
|
||||
image: hazelcast/hazelcast:3.12.11
|
||||
network_mode: "host"
|
||||
container_default_behavior: "no_defaults"
|
||||
...
|
1
applications/requirements.txt
Normal file
1
applications/requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
ansible==2.10.5
|
7
applications/stack_address.toml
Executable file
7
applications/stack_address.toml
Executable file
@ -0,0 +1,7 @@
|
||||
[all]
|
||||
100.64.0.113 index=0
|
||||
100.64.0.251 index=1
|
||||
100.64.0.114 index=2
|
||||
100.64.0.124 index=3
|
||||
[all:vars]
|
||||
ansible_ssh_common_args='-o StrictHostKeyChecking=no'
|
Loading…
Reference in New Issue
Block a user