khuedoan-homelab/metal/roles/etcd/tasks/main.yml
2021-02-13 13:28:07 +07:00

12 lines
259 B
YAML

- 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