File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 54
54
dest : " {{ kayobe_env_config_path }}/kolla/certificates/ca/vault.crt"
55
55
mode : " 0600"
56
56
delegate_to : localhost
57
+
58
+ - name : Generate ProxySQL certificates
59
+ when : kolla_enable_proxysql | bool
60
+ block :
61
+ - name : Copy ProxySQL certificate
62
+ ansible.builtin.copy :
63
+ dest : " {{ kayobe_env_config_path }}/kolla/certificates/proxysql-cert.pem"
64
+ content : |
65
+ {{ internal_cert.data.certificate }}
66
+ {{ internal_cert.data.issuing_ca }}
67
+ mode : " 0600"
68
+ delegate_to : localhost
69
+
70
+ - name : Copy ProxySQL certificate key
71
+ ansible.builtin.copy :
72
+ dest : " {{ kayobe_env_config_path }}/kolla/certificates/proxysql-key.pem"
73
+ content : |
74
+ {{ internal_cert.data.private_key }}
75
+ mode : " 0600"
76
+ delegate_to : localhost
77
+
78
+ # NOTE(seunghunlee): Kolla-Ansible expects root CA explicitly named as
79
+ # root.crt for ProxySQL
80
+ - name : Copy ProxqlSQL root CA
81
+ ansible.builtin.copy :
82
+ src : " {{ kayobe_env_config_path }}/vault/OS-TLS-ROOT.pem"
83
+ dest : " {{ kayobe_env_config_path }}/kolla/certificates/ca/root.crt"
84
+ mode : " 0600"
85
+ delegate_to : localhost
You can’t perform that action at this time.
0 commit comments