mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-07 09:41:08 +07:00
16 lines
338 B
YAML
16 lines
338 B
YAML
- name: Install Python library for the Docker
|
|
dnf:
|
|
name: python-docker
|
|
|
|
- name: Create etcd container
|
|
docker_container:
|
|
name: etcd-tfstate
|
|
image: bitnami/etcd
|
|
restart_policy: always
|
|
env:
|
|
ALLOW_NONE_AUTHENTICATION: "yes"
|
|
published_ports:
|
|
- 23799:2379
|
|
volumes:
|
|
- tfstate:/bitnami/etcd/data
|