diff --git a/tasks/main.yml b/tasks/main.yml index 57cc887..fbb92c2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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