Revert "Remove etcd role"

This reverts commit 5e0036defd.
This commit is contained in:
Khue Doan 2021-06-08 18:06:15 +07:00
parent 32a6f00757
commit b1c6620322

View File

@ -0,0 +1,11 @@
- name: Create etcd container
docker_container:
name: etcd-tfstate
image: bitnami/etcd
restart_policy: always
env:
ALLOW_NONE_AUTHENTICATION: "yes"
published_ports:
- 2379:2379
volumes:
- tfstate:/bitnami/etcd/data