summaryrefslogtreecommitdiffstats
path: root/installation/ansible-server/src/main/Playbooks/ansible_huawei_downloadnesw@0.00.yml
diff options
context:
space:
mode:
Diffstat (limited to 'installation/ansible-server/src/main/Playbooks/ansible_huawei_downloadnesw@0.00.yml')
-rw-r--r--installation/ansible-server/src/main/Playbooks/ansible_huawei_downloadnesw@0.00.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/installation/ansible-server/src/main/Playbooks/ansible_huawei_downloadnesw@0.00.yml b/installation/ansible-server/src/main/Playbooks/ansible_huawei_downloadnesw@0.00.yml
index 10e25b34..47359f57 100644
--- a/installation/ansible-server/src/main/Playbooks/ansible_huawei_downloadnesw@0.00.yml
+++ b/installation/ansible-server/src/main/Playbooks/ansible_huawei_downloadnesw@0.00.yml
@@ -12,10 +12,10 @@
ne_identifier: "{{neIdentifier}}"
when: neIdentifier is defined
- - name: compatible with parameter pnfId
+ - name: compatible with parameter pnfName
set_fact:
- ne_identifier: "{{pnfId}}"
- when: neIdentifier is not defined and pnfId is defined
+ ne_identifier: "{{pnfName}}"
+ when: neIdentifier is not defined and pnfName is defined
- name: execute downloadNESw operation
shell: ./swm/downloadNESw --swToBeDownloaded {{sw_to_be_downloaded}} --neIdentifier {{ne_identifier}}