From: Yaoguang Wang Date: Wed, 10 Oct 2018 03:40:38 +0000 (+0800) Subject: Fix sudo permission of remote normal users X-Git-Tag: 1.4.1~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=55e3407ee9aa815fec31cb1de663c93aea39b89a;p=sdnc%2Foam.git Fix sudo permission of remote normal users Change-Id: Ia593cfa706b0088306ea3d8d18117c3d9b2343c9 Issue-ID: CCSDK-464 Signed-off-by: Yaoguang Wang Former-commit-id: 2e7ccff033ddf54574ab3f740bf274b1472b2347 --- diff --git a/installation/ansible-server/src/main/yml/ansible_huawei_postcheck@0.00.yml b/installation/ansible-server/src/main/yml/ansible_huawei_postcheck@0.00.yml index 975887d7..0711e40a 100644 --- a/installation/ansible-server/src/main/yml/ansible_huawei_postcheck@0.00.yml +++ b/installation/ansible-server/src/main/yml/ansible_huawei_postcheck@0.00.yml @@ -5,11 +5,11 @@ file: path: /tmp/tmp-{{Id}} state: touch - become: true + become: false - name: prepare additional data shell: echo {{additionalData}} > /tmp/tmp-{{Id}} - become: true + become: false - name: execute post-check operation shell: ./swm/upgrade-post-check.sh {{pnfId}} {{oldSwVersion}} {{targetSwVersion}} {{ruleName}} /tmp/tmp-{{Id}} @@ -18,4 +18,4 @@ file: path: /tmp/tmp-{{Id}} state: absent - become: true + become: false diff --git a/installation/ansible-server/src/main/yml/ansible_huawei_precheck@0.00.yml b/installation/ansible-server/src/main/yml/ansible_huawei_precheck@0.00.yml index 651974f8..b6614b65 100644 --- a/installation/ansible-server/src/main/yml/ansible_huawei_precheck@0.00.yml +++ b/installation/ansible-server/src/main/yml/ansible_huawei_precheck@0.00.yml @@ -5,11 +5,11 @@ file: path: /tmp/tmp-{{Id}} state: touch - become: true + become: false - name: prepare additional data shell: echo {{additionalData}} > /tmp/tmp-{{Id}} - become: true + become: false - name: execute pre-check operation shell: ./swm/upgrade-pre-check.sh {{pnfId}} {{oldSwVersion}} {{targetSwVersion}} {{ruleName}} /tmp/tmp-{{Id}} @@ -18,4 +18,4 @@ file: path: /tmp/tmp-{{Id}} state: absent - become: true + become: false diff --git a/installation/ansible-server/src/main/yml/ansible_huawei_upgrade@0.00.yml b/installation/ansible-server/src/main/yml/ansible_huawei_upgrade@0.00.yml index ac2c4054..87e84ab1 100644 --- a/installation/ansible-server/src/main/yml/ansible_huawei_upgrade@0.00.yml +++ b/installation/ansible-server/src/main/yml/ansible_huawei_upgrade@0.00.yml @@ -5,11 +5,11 @@ file: path: /tmp/tmp-{{Id}} state: touch - become: true + become: false - name: prepare additional data shell: echo {{additionalData}} > /tmp/tmp-{{Id}} - become: true + become: false - name: execute upgrade software operation shell: ./swm/upgrade-software.sh {{pnfId}} {{oldSwVersion}} {{targetSwVersion}} /tmp/tmp-{{Id}} @@ -18,4 +18,4 @@ file: path: /tmp/tmp-{{Id}} state: absent - become: true + become: false