From b1c66203223e0694ff739fb20871e45e491af6dc Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Tue, 8 Jun 2021 18:06:15 +0700 Subject: [PATCH] Revert "Remove etcd role" This reverts commit 5e0036defdf6add9c7a2188abbe0e6e948447c59. --- metal/roles/etcd/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 metal/roles/etcd/tasks/main.yml diff --git a/metal/roles/etcd/tasks/main.yml b/metal/roles/etcd/tasks/main.yml new file mode 100644 index 00000000..ef6608d4 --- /dev/null +++ b/metal/roles/etcd/tasks/main.yml @@ -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