etcd role for controller nodes

This commit is contained in:
2023-01-03 00:32:26 +01:00
parent e4d93900c4
commit 8c80487481
7 changed files with 131 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
---
- name: Copy worker certificates
copy:
src: "{{ playbook_dir }}/../../kazan-ssl/pki/{{ item }}"
dest: "/etc/etcd/"
owner: root
group: root
mode: 0644
become: true
with_items:
- ca/ca.pem
- clients/w1.kazan.schleppe-key.pem
- clients/w1.kazan.schleppe.pem
- clients/w2.kazan.schleppe-key.pem
- clients/w2.kazan.schleppe.pem
- clients/w3.kazan.schleppe-key.pem
- clients/w3.kazan.schleppe.pem