Removing '/certificates' entry in generate.yml as this causes an
incorrect path when generating certificates. The 'setting permissions on key' task fails because the task looks for the haproxy.key in an invalid path. The certificates_dir is defined as '{{ node_config }}/certificates' in the main.yml . The 'Setting permissions on Key' task has a path of '{{ certificates_dir }}/certificates/private/haproxy.key which is incorrect. Removing the 'certificates' in the path corrects this problem and allows the user to successfully create certificates using 'kolla-ansible certificates'. Change-Id: I37b10b994b05d955b6f67c908df1472231a91160 Closes-Bug: 1821805
This commit is contained in:
parent
47a2c5a85e
commit
c0a3970e36
@ -23,7 +23,7 @@
|
||||
- name: Setting permissions on key
|
||||
become: true
|
||||
file:
|
||||
path: "{{ certificates_dir }}/certificates/private/haproxy.key"
|
||||
path: "{{ certificates_dir }}/private/haproxy.key"
|
||||
mode: 0600
|
||||
state: file
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user