X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fansible-server%2Fsrc%2Fmain%2FPlaybooks%2Fansible_huawei_downloadnesw%400.00.yml;h=10e25b3494a2e463366696c2eab563ac8bc246e0;hb=78a1f2ec89fcbf01e6bf0d28128820b3a88818bf;hp=77bc21b3a2c6eb86c735744cf6b000ecfb55f4dd;hpb=92149eee8b918dac402a325696a2ee751cca82ee;p=sdnc%2Foam.git 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 77bc21b3..10e25b34 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 @@ -2,23 +2,23 @@ - hosts: all tasks: - - name: parameter neIdentifier - set_fact: - ne_identifier: "{{neIdentifier}}" - when: neIdentifier is defined - - name: parameter swToBeDownloaded set_fact: sw_to_be_downloaded: "{{swToBeDownloaded}}" when: swToBeDownloaded is defined + - name: parameter neIdentifier + set_fact: + ne_identifier: "{{neIdentifier}}" + when: neIdentifier is defined + - name: compatible with parameter pnfId set_fact: ne_identifier: "{{pnfId}}" when: neIdentifier is not defined and pnfId is defined - name: execute downloadNESw operation - shell: ./swm/downloadNESw --neIdentifier {{ne_identifier}} --swToBeDownloaded {{sw_to_be_downloaded}} + shell: ./swm/downloadNESw --swToBeDownloaded {{sw_to_be_downloaded}} --neIdentifier {{ne_identifier}} ignore_errors: yes register: download_result