From 77e117a8bfa0101bdf498b0a6085f53d050f1158 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 11 May 2017 15:10:41 +0000 Subject: [PATCH] deploy ssh keys to os cluster hosts --- playbooks/groups/os-cluster.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/playbooks/groups/os-cluster.yml b/playbooks/groups/os-cluster.yml index 97cb121091..4572d1f969 100644 --- a/playbooks/groups/os-cluster.yml +++ b/playbooks/groups/os-cluster.yml @@ -23,6 +23,11 @@ - sudo tasks: + - name: Deploy controller public ssh keys to osbs cluster hosts + authorized_key: + user: root + key: "{{ lookup('file', '{{private}}/files/osbs/{{env}}/control_key.pub') }}" + - include: "{{ tasks_path }}/yumrepos.yml" - include: "{{ tasks_path }}/2fa_client.yml" - include: "{{ tasks_path }}/motd.yml"