summaryrefslogtreecommitdiffstats
path: root/installation
diff options
context:
space:
mode:
authorYaoguang Wang <sunshine.wang@huawei.com>2018-10-10 11:40:38 +0800
committerYaoguang Wang <sunshine.wang@huawei.com>2018-10-10 11:40:38 +0800
commit55e3407ee9aa815fec31cb1de663c93aea39b89a (patch)
tree8d93a971fd52854510631edf4a7a2699ddd429ba /installation
parent3eb49f0db5febee4425b8e533732be40b4f31975 (diff)
Fix sudo permission of remote normal users
Change-Id: Ia593cfa706b0088306ea3d8d18117c3d9b2343c9 Issue-ID: CCSDK-464 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Former-commit-id: 2e7ccff033ddf54574ab3f740bf274b1472b2347
Diffstat (limited to 'installation')
-rw-r--r--installation/ansible-server/src/main/yml/ansible_huawei_postcheck@0.00.yml6
-rw-r--r--installation/ansible-server/src/main/yml/ansible_huawei_precheck@0.00.yml6
-rw-r--r--installation/ansible-server/src/main/yml/ansible_huawei_upgrade@0.00.yml6
3 files changed, 9 insertions, 9 deletions
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