use correct path for osbs-cluster keys in {{private}}

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller
2016-10-24 16:27:39 +00:00
parent 288cd9bc8e
commit c0e959bf8b

View File

@@ -42,7 +42,7 @@
tasks:
- name: deploy private key to control hosts
copy:
src: "{{private}}/files/{{env}}/control_key"
src: "{{private}}/files/osbs/{{env}}/control_key"
dest: "/root/.ssh/control_key"
owner: root
mode: 0600
@@ -56,7 +56,7 @@
- name: deploy public key to control hosts
authorized_key:
user: root
key: "{{ lookup('file', '{{private}}/files/{{env}}/control_key.pub') }}"
key: "{{ lookup('file', '{{private}}/files/osbs/{{env}}/control_key.pub') }}"
- name: Deploy OpenShift Cluster and OSBS
hosts: osbs-control:osbs-control-stg