Fix sudo permission of remote normal users 29/70129/1
authorYaoguang Wang <sunshine.wang@huawei.com>
Wed, 10 Oct 2018 03:40:38 +0000 (11:40 +0800)
committerYaoguang Wang <sunshine.wang@huawei.com>
Wed, 10 Oct 2018 03:40:38 +0000 (11:40 +0800)
Change-Id: Ia593cfa706b0088306ea3d8d18117c3d9b2343c9
Issue-ID: CCSDK-464
Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com>
Former-commit-id: 2e7ccff033ddf54574ab3f740bf274b1472b2347

installation/ansible-server/src/main/yml/ansible_huawei_postcheck@0.00.yml
installation/ansible-server/src/main/yml/ansible_huawei_precheck@0.00.yml
installation/ansible-server/src/main/yml/ansible_huawei_upgrade@0.00.yml

index 975887d..0711e40 100644 (file)
@@ -5,11 +5,11 @@
     file: \r
         path: /tmp/tmp-{{Id}}\r
         state: touch\r
-    become: true\r
+    become: false\r
 \r
   - name: prepare additional data\r
     shell: echo {{additionalData}} > /tmp/tmp-{{Id}}\r
-    become: true\r
+    become: false\r
 \r
   - name: execute post-check operation\r
     shell: ./swm/upgrade-post-check.sh {{pnfId}} {{oldSwVersion}} {{targetSwVersion}} {{ruleName}} /tmp/tmp-{{Id}}\r
@@ -18,4 +18,4 @@
     file:\r
         path: /tmp/tmp-{{Id}}\r
         state: absent\r
-    become: true\r
+    become: false\r
index 651974f..b6614b6 100644 (file)
@@ -5,11 +5,11 @@
     file: \r
         path: /tmp/tmp-{{Id}}\r
         state: touch\r
-    become: true\r
+    become: false\r
 \r
   - name: prepare additional data\r
     shell: echo {{additionalData}} > /tmp/tmp-{{Id}}\r
-    become: true\r
+    become: false\r
 \r
   - name: execute pre-check operation\r
     shell: ./swm/upgrade-pre-check.sh {{pnfId}} {{oldSwVersion}} {{targetSwVersion}} {{ruleName}} /tmp/tmp-{{Id}}\r
@@ -18,4 +18,4 @@
     file:\r
         path: /tmp/tmp-{{Id}}\r
         state: absent\r
-    become: true\r
+    become: false\r
index ac2c405..87e84ab 100644 (file)
@@ -5,11 +5,11 @@
     file: \r
         path: /tmp/tmp-{{Id}}\r
         state: touch\r
-    become: true\r
+    become: false\r
 \r
   - name: prepare additional data\r
     shell: echo {{additionalData}} > /tmp/tmp-{{Id}}\r
-    become: true\r
+    become: false\r
 \r
   - name: execute upgrade software operation\r
     shell: ./swm/upgrade-software.sh {{pnfId}} {{oldSwVersion}} {{targetSwVersion}} /tmp/tmp-{{Id}}\r
@@ -18,4 +18,4 @@
     file:\r
         path: /tmp/tmp-{{Id}}\r
         state: absent\r
-    become: true\r
+    become: false\r