diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-10-18 09:39:21 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-10-19 10:00:30 -0300 |
commit | 3ea0166aa301990d4f95fdb1c48557e710aa0b05 (patch) | |
tree | 233baede8c077ce2d7225328121ce6155af31cb7 /roles/openshift_manageiq | |
parent | 9fa3c6c98420e4e340507193fd3ad80c15e5c19e (diff) | |
download | openshift-3ea0166aa301990d4f95fdb1c48557e710aa0b05.tar.gz openshift-3ea0166aa301990d4f95fdb1c48557e710aa0b05.tar.bz2 openshift-3ea0166aa301990d4f95fdb1c48557e710aa0b05.tar.xz openshift-3ea0166aa301990d4f95fdb1c48557e710aa0b05.zip |
Switch from "oadm" to "oc adm" and fix bug in binary sync.
Found bug syncing binaries to containerized hosts where if a symlink was
pre-existing, but pointing to the wrong destination, it would not be
corrected.
Switched to using oc adm instead of oadm.
Diffstat (limited to 'roles/openshift_manageiq')
-rw-r--r-- | roles/openshift_manageiq/tasks/main.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_manageiq/tasks/main.yaml b/roles/openshift_manageiq/tasks/main.yaml index 5d7a3c038..ea4fb525d 100644 --- a/roles/openshift_manageiq/tasks/main.yaml +++ b/roles/openshift_manageiq/tasks/main.yaml @@ -10,7 +10,7 @@ - name: Add Managment Infrastructure project command: > - {{ openshift.common.admin_binary }} new-project + {{ openshift.common.client_binary }} adm new-project management-infra --description="Management Infrastructure" --config={{manage_iq_tmp_conf}} @@ -52,7 +52,7 @@ - name: Configure role/user permissions command: > - {{ openshift.common.admin_binary }} {{item}} + {{ openshift.common.client_binary }} adm {{item}} --config={{manage_iq_tmp_conf}} with_items: "{{manage_iq_tasks}}" register: osmiq_perm_task @@ -61,7 +61,7 @@ - name: Configure 3_2 role/user permissions command: > - {{ openshift.common.admin_binary }} {{item}} + {{ openshift.common.client_binary }} adm {{item}} --config={{manage_iq_tmp_conf}} with_items: "{{manage_iq_openshift_3_2_tasks}}" register: osmiq_perm_3_2_task |