From 55e3407ee9aa815fec31cb1de663c93aea39b89a Mon Sep 17 00:00:00 2001 From: Yaoguang Wang Date: Wed, 10 Oct 2018 11:40:38 +0800 Subject: Fix sudo permission of remote normal users Change-Id: Ia593cfa706b0088306ea3d8d18117c3d9b2343c9 Issue-ID: CCSDK-464 Signed-off-by: Yaoguang Wang Former-commit-id: 2e7ccff033ddf54574ab3f740bf274b1472b2347 --- .../ansible-server/src/main/yml/ansible_huawei_postcheck@0.00.yml | 6 +++--- .../ansible-server/src/main/yml/ansible_huawei_precheck@0.00.yml | 6 +++--- .../ansible-server/src/main/yml/ansible_huawei_upgrade@0.00.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'installation/ansible-server') 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 -- cgit 1.2.3-korg