Add ansible hazelcast applications provisionning into docker hosts

This commit is contained in:
Antoine 2021-01-24 21:56:45 +01:00
parent f70970f0e4
commit 22751914e1
Signed by: antoine
GPG Key ID: 098FB66FC0475E70
6 changed files with 31 additions and 0 deletions

1
applications/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
workspace/

View File

@ -0,0 +1,7 @@
---
- hosts: all
roles:
- docker_hazelcast
...

View File

@ -0,0 +1,6 @@
---
collections:
- name: community.general
...

View File

@ -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"
...

View File

@ -0,0 +1 @@
ansible==2.10.5

View 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'