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