Merge "Add https support for SDNC container"
authorDavid Stilwell <stilwelld@att.com>
Wed, 10 Apr 2019 17:30:26 +0000 (17:30 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 10 Apr 2019 17:30:26 +0000 (17:30 +0000)
Former-commit-id: 23230f76a423b77c0088a86872a328efcd49785c

installation/ansible-server/src/main/Playbooks/ansible_huawei_rollback@0.00.yml

index ef56c54..0d20bc3 100644 (file)
@@ -1,21 +1,8 @@
 ---\r
 - hosts: all\r
   tasks:\r
-  - name: create a temporary file for additional data\r
-    file: \r
-        path: /tmp/tmp-{{Id}}\r
-        state: touch\r
-    become: false\r
 \r
-  - name: prepare additional data\r
-    shell: echo {{additionalData}} > /tmp/tmp-{{Id}}\r
-    become: false\r
+  - name: execute swFallback operation\r
+    shell: ./swm/swFallback.sh --filter {{filter}}\r
+    register: fallback__result\r
 \r
-  - name: execute rollback operation\r
-    shell: ./swm/rollback.sh {{pnfId}} {{oldSwVersion}} /tmp/tmp-{{Id}}\r
-\r
-  - name: remove the temporary file\r
-    file:\r
-        path: /tmp/tmp-{{Id}}\r
-        state: absent\r
-    become: false\r