summaryrefslogtreecommitdiffstats
path: root/roles/etcd_ca/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/etcd_ca/tasks/main.yml')
-rw-r--r--roles/etcd_ca/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/etcd_ca/tasks/main.yml b/roles/etcd_ca/tasks/main.yml
index c4d5efa14..b4dea4a07 100644
--- a/roles/etcd_ca/tasks/main.yml
+++ b/roles/etcd_ca/tasks/main.yml
@@ -60,7 +60,8 @@
delegate_to: "{{ etcd_ca_host }}"
run_once: true
-- command: >
+- name: Create etcd CA certificate
+ command: >
openssl req -config {{ etcd_openssl_conf }} -newkey rsa:4096
-keyout {{ etcd_ca_key }} -new -out {{ etcd_ca_cert }}
-x509 -extensions {{ etcd_ca_exts_self }} -batch -nodes