khuedoan-homelab/metal/roles/etcd/tasks/main.yml

12 lines
259 B
YAML
Raw Normal View History

- name: Create etcd container
docker_container:
name: etcd-tfstate
2021-02-12 21:24:13 +07:00
image: bitnami/etcd
2021-02-13 13:28:07 +07:00
restart_policy: always
2021-02-12 21:24:13 +07:00
env:
ALLOW_NONE_AUTHENTICATION: "yes"
published_ports:
- 2379:2379
volumes:
2021-02-12 22:34:02 +07:00
- tfstate:/bitnami/etcd/data