Fix cert copy
This commit is contained in:
parent
df760d2035
commit
8b50fce691
|
@ -1,9 +1,21 @@
|
||||||
- name: Include sensitive info
|
- name: Include sensitive info
|
||||||
include_vars:
|
include_vars:
|
||||||
dir: '{{ role_path }}/vault'
|
dir: '{{ role_path }}/vault'
|
||||||
|
depth: 1
|
||||||
tags:
|
tags:
|
||||||
- vault
|
- vault
|
||||||
- hitch
|
- 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
|
- name: Copy Hitch configuration
|
||||||
template:
|
template:
|
||||||
follow: yes
|
follow: yes
|
||||||
|
|
Reference in New Issue