From fbefe874a37e8f97c818737ec4c6fef4c739a058 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Wed, 7 Dec 2016 18:39:28 +0000 Subject: [PATCH] switch order of pre-req packages and cluster ssh key tasks in osbs-cluster Signed-off-by: Adam Miller --- playbooks/groups/osbs-cluster.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/playbooks/groups/osbs-cluster.yml b/playbooks/groups/osbs-cluster.yml index f7bd79a927..6559748e65 100644 --- a/playbooks/groups/osbs-cluster.yml +++ b/playbooks/groups/osbs-cluster.yml @@ -72,11 +72,6 @@ state: restarted 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') }}" - - name: Install necessary packages that openshift-ansible needs package: name="{{ item }}" state=installed with_items: @@ -86,6 +81,11 @@ - NetworkManager - libselinux-python + - name: Deploy controller public ssh keys to osbs cluster hosts + authorized_key: + user: root + key: "{{ lookup('file', '{{private}}/files/osbs/{{env}}/control_key.pub') }}" + # This is required for OpenShift built-in SkyDNS inside the overlay network # of the cluster - name: ensure NM_CONTROLLED is set to "yes" for osbs cluster