mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 18:41:38 +08:00
use correct path for osbs-cluster keys in {{private}}
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user