X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcaas-lcm.git;a=blobdiff_plain;f=su%2Froles%2Fsu_prepare%2Ftasks%2Fmerge-charts.yml;h=f68aaa19e0082bc2fafae97d46e59943bbe0284f;hp=cff001af77fa01fb9bbd9258ad37c198b71e664c;hb=8b3b4884ab72e5b86b8850872bf50c6a067c001b;hpb=8c28c9164fab719dcd49ccea8878e66bfe69b88c diff --git a/su/roles/su_prepare/tasks/merge-charts.yml b/su/roles/su_prepare/tasks/merge-charts.yml index cff001a..f68aaa1 100644 --- a/su/roles/su_prepare/tasks/merge-charts.yml +++ b/su/roles/su_prepare/tasks/merge-charts.yml @@ -13,16 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -- name: fetch files from server which contains the necessary variables - fetch: - src: /etc/swift/usr/admin/admin.yml - dest: /tmp/ - flat: yes - -- name: register infos for swift_auth - set_fact: - swift_credential: "{{ lookup('file', '/tmp/admin.yml') | from_yaml }}" - - name: pause to wait for swift-update to be ready pause: minutes: 1 @@ -32,7 +22,7 @@ url: "{{ caas.swift_update }}/auth/v1.0" headers: X_Auth_User: admin:admin - X_Auth_Key: "{{ swift_credential.swift_password }}" + X_Auth_Key: "{{ caas.swift_credential.password }}" register: auth - name: get packages @@ -84,7 +74,7 @@ url: "{{ caas.swift }}/auth/v1.0" headers: X_Auth_User: admin:admin - X_Auth_Key: "{{ swift_credential.swift_password }}" + X_Auth_Key: "{{ caas.swift_credential.password }}" register: auth_orig ignore_errors: yes