switch order of pre-req packages and cluster ssh key tasks in osbs-cluster

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller 2016-12-07 18:39:28 +00:00
parent fb06bbfbaf
commit fbefe874a3

View file

@ -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