Fix cert copy

This commit is contained in:
Alex 2020-05-25 21:37:36 +02:00
parent df760d2035
commit 8b50fce691
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 12 additions and 0 deletions

View File

@ -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