Fix cert copy
This commit is contained in:
parent
df760d2035
commit
8b50fce691
|
@ -1,9 +1,21 @@
|
|||
- name: Include sensitive info
|
||||
include_vars:
|
||||
dir: '{{ role_path }}/vault'
|
||||
depth: 1
|
||||
tags:
|
||||
- vault
|
||||
- hitch
|
||||
- name: Copy certificate
|
||||
copy:
|
||||
follow: yes
|
||||
src: "{{ role_path }}/vault/certs/cert.pem.enc"
|
||||
dest: "/etc/ssl/private/cert.pem"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "600"
|
||||
tags:
|
||||
- hitch
|
||||
- vault
|
||||
- name: Copy Hitch configuration
|
||||
template:
|
||||
follow: yes
|
||||
|
|
Reference in New Issue