diff --git a/infrared_plugin/roles/tobiko-ir-before-run/defaults/main.yaml b/infrared_plugin/roles/tobiko-ir-before-run/defaults/main.yaml index acef4f916..e0cf3accd 100644 --- a/infrared_plugin/roles/tobiko-ir-before-run/defaults/main.yaml +++ b/infrared_plugin/roles/tobiko-ir-before-run/defaults/main.yaml @@ -1,4 +1,4 @@ --- # OpenStack client credentials -stackrc_file: '{{ ansible_user_dir }}/overcloudrc' +stackrc_file: '~/overcloudrc' diff --git a/infrared_plugin/roles/tobiko-ir-before-run/tasks/main.yaml b/infrared_plugin/roles/tobiko-ir-before-run/tasks/main.yaml index a7bd3a811..62173f372 100644 --- a/infrared_plugin/roles/tobiko-ir-before-run/tasks/main.yaml +++ b/infrared_plugin/roles/tobiko-ir-before-run/tasks/main.yaml @@ -5,6 +5,7 @@ source {{ stackrc_file }} openstack quota set --{{ item.key }} {{ item.value }} $OS_PROJECT_NAME with_dict: "{{ quota | default({}) }}" + delegate_to: "{{ groups.undercloud|first }}" - name: ensure auto ssh key exchange in test host block: