Closed chidanandpujar closed 10 months ago
Hi @dineshbaburam91 Please find the logs for installation on multiple members .
~/ansible_release_v103/ansible-junos-stdlib/tests# vi pb.juniper_junos_software_member.yml
---
- name: Test juniper.device.software module
hosts: all
collections:
- juniper.device
connection: local
gather_facts: no
vars:
wait_time: 3600
pkg_dir: /var/tmp/
OS_version: 22.4
OS_package: junos-install-ex-x86-64-22.4I62500TB237700_cd-builder.tgz
log_dir: /var/log/
tasks:
- name: Checking NETCONF connectivity
wait_for: host={{ ansible_ssh_host }} port=830 timeout=5
- name: Install Junos OS package
software:
reboot: yes
no_copy: True
all_re: False
version: "{{ OS_version }}"
package: "{{ pkg_dir }}/{{ OS_package }}"
logfile: "{{ log_dir }}/software.log"
member_id: ['0','1']
register: test1
notify:
- wait_reboot
- name: Print response
debug:
var: test1
- name: Check TEST - 1
assert:
that:
- test1.failed == false
"pb.juniper_junos_software_member.yml" 44L, 1054C written
~/ansible_release_v103/ansible-junos-stdlib/tests# ansible-playbook pb.juniper_junos_software_member.yml
PLAY [Test juniper.device.software module] ********************************************************************************************************************************
TASK [Checking NETCONF connectivity] **************************************************************************************************************************************
ok: [test]
TASK [Install Junos OS package] *******************************************************************************************************************************************
changed: [test]
TASK [Print response] *****************************************************************************************************************************************************
ok: [test] => {
"test1": {
"changed": true,
"check_mode": false,
"failed": false,
"msg": "Package /var/tmp/junos-install-ex-x86-64-22.4I62500TB237700_cd-builder.tgz successfully installed. Response from device is: \n\n\n[Oct 13 00:18:42]: Checking pending install on fpc1\n\nPushing /var/tmp/junos-install-ex-x86-64-22.4I62500TB237700_cd-builder.tgz to fpc1:/var/tmp/junos-install-ex-x86-64-22.4I62500TB237700_cd-builder.tgz\nVerified junos-install-ex-x86-64-22.4I62500TB237700_cd-builder signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified auto-snapshot signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified deebe signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified dsa signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified dsa-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified fips-mode signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jail-runtime signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified jail-runtime-x86-32-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified jcommon-bios-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jcommon-bios-ex-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jdocs-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jdocs-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jpfe-EX44XX signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jpfe-EX44XX-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jphone-home signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jphone-home-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsd-jet-1 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsd-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsdn signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsdn-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-daemons signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-daemons-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-dp-crypto-support-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-dp-crypto-support-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-l2-rsi signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-l2-rsi-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32-ex-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules-ex-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-dcp-inv signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-dcp-inv-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-inv signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-inv-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-openconfig signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-openconfig-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-platform-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-platform-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-probe signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-probe-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-aggregated signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-aggregated-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-compat32 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-compat32-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-lsys signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-lsys-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-mpls-oam-basic signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-mpls-oam-basic-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-runtime-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-runtime-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-runtime signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jweb-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jweb-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified na-telemetry signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified na-telemetry-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified oam-efi signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-efi signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-efi-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-junos-ve signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-junos-ve-x86-32-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-compat32 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-compat32-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-crypto signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-crypto-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-efi signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-efi-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-kernel-wit signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-kernel-wit-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs-compat32 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs-compat32-12-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs-12-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-package signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-package-20221117 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-runtime signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-vmguest signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-zoneinfo signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-zoneinfo-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified platform-config-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified platform-config-ex-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-base signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-base-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-extensions signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-extensions-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nNOTICE: 'pending' set will be activated at next reboot...\n\nVerified junos-install-ex-x86-64-22.4I62500TB237700_cd-builder signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified auto-snapshot signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified deebe signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified dsa signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified dsa-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified fips-mode signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jail-runtime signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified jail-runtime-x86-32-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified jcommon-bios-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jcommon-bios-ex-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jdocs-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jdocs-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jpfe-EX44XX signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jpfe-EX44XX-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jphone-home signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jphone-home-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsd-jet-1 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsd-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsdn signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsdn-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-daemons signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-daemons-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-dp-crypto-support-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-dp-crypto-support-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-l2-rsi signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-l2-rsi-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32-ex-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules-ex-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-dcp-inv signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-dcp-inv-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-inv signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-inv-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-openconfig signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-openconfig-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-platform-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-platform-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-probe signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-probe-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-aggregated signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-aggregated-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-compat32 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-compat32-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-lsys signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-lsys-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-mpls-oam-basic signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-mpls-oam-basic-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-runtime-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-runtime-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-runtime signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jweb-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jweb-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified na-telemetry signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified na-telemetry-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified oam-efi signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-efi signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-efi-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-junos-ve signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-junos-ve-x86-32-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-compat32 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-compat32-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-crypto signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-crypto-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-efi signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-efi-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-kernel-wit signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-kernel-wit-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs-compat32 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs-compat32-12-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs-12-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-package signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-package-20221117 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-runtime signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-vmguest signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-zoneinfo signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-zoneinfo-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified platform-config-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified platform-config-ex-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-base signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-base-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-extensions signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-extensions-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nNOTICE: 'pending' set will be activated at next reboot...\n Reboot successfully initiated. Reboot message: \nRebooting fpc1\n"
}
}
TASK [Check TEST - 1] *****************************************************************************************************************************************************
ok: [test] => {
"changed": false,
"msg": "All assertions passed"
}
RUNNING HANDLER [wait_reboot] *********************************************************************************************************************************************
ok: [test]
PLAY RECAP ****************************************************************************************************************************************************************
test : ok=5 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Thanks
Hi @dineshbaburam91 sharing the logs for mx installation .
~/ansible_release_v103/ansible-junos-stdlib/tests# cat pb.juniper_junos_software.yml
---
- name: Test juniper.device.software module
hosts: all
collections:
- juniper.device
connection: local
gather_facts: no
vars:
wait_time: 3600
pkg_dir: /var/tmp/
OS_version: 23.3
OS_package: junos-x86-64-23.3I-20230416_dev_common.0.1826.tgz
log_dir: /var/log/
tasks:
- name: Checking NETCONF connectivity
wait_for: host={{ ansible_ssh_host }} port=830 timeout=5
- name: Install Junos OS package
software:
reboot: yes
no_copy: True
all_re: False
version: "{{ OS_version }}"
package: "{{ pkg_dir }}/{{ OS_package }}"
logfile: "{{ log_dir }}/software.log"
register: test1
notify:
- wait_reboot
- name: Print response
debug:
var: test1
- name: Check TEST - 1
assert:
that:
- test1.failed == false
handlers:
- name: wait_reboot
wait_for: host={{ ansible_ssh_host }} port=830 timeout={{ wait_time }}
when: not test1.check_mode
```~/ansible_release_v103/ansible-junos-stdlib/tests# ansible-playbook pb.juniper_junos_software.yml
PLAY [Test juniper.device.software module] ********************************************************************************************************************************
TASK [Checking NETCONF connectivity] **************************************************************************************************************************************
ok: [test]
TASK [Install Junos OS package] *******************************************************************************************************************************************
changed: [test]
TASK [Print response] *****************************************************************************************************************************************************
ok: [test] => {
"test1": {
"changed": true,
"check_mode": false,
"failed": false,
"msg": "Package /var/tmp/junos-x86-64-23.3I-20230416_dev_common.0.1826.tgz successfully installed. Response from device is: \nRemoving /packages/sets/previous\nVerified junos-x86-64-23.3I-20230416_dev_common.0.1826 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified auto-snapshot signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified deebe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding deebe-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified dsa signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding dsa-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified fips-mode signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified jail-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jail-runtime-x86-32-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...\nVerified jdocs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jdocs-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jfirmware signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jfirmware-x86-32-23.3I20230404_0101__devpublish ...\nVerified jinsight signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jinsight-x86-32-23.3I-20230416_dev_common.0.1826 ...\nVerified jmrt-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jmrt-base-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified jmrt-test signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jmrt-test-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified jpfe-X signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jpfe-X-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jpfe-X960 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jpfe-X960-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jpfe-aft signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jpfe-aft-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jpfe-common signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jpfe-common-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jpfe-fips signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified jpfe-spc3-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jpfe-spc3-mx-x86-32-23.3I-20230416_dev_common.0.1826 ...\nVerified jpfe-wrlinux signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jpfe-wrlinux-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jpfe-wrlinux9 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jpfe-wrlinux9-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jpfe-wrlinuxlts19-pmb signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified jphone-home signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jphone-home-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jsd-jet-1 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jsd-x86-32-23.3I-20230416_dev_common.0.1826-jet-1 ...\nVerified jsdn signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jsdn-x86-32-23.3I-20230416_dev_common.0.1826 ...\nVerified jservices-crypto signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-crypto-x86-32-23.3I-20230416_dev_common.0.1826 ...\nVerified jservices-crypto-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-crypto-base-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-ipsec signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-ipsec-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-rtcom signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-rtcom-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-ssl signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-ssl-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-tcp-log signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-tcp-log-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-x86-32-23.3I-20230416_dev_common.0.1826 ...\nVerified jservices-aacl signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-aacl-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-alg signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-alg-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-appid signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-appid-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-cos signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-cos-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-cpcd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-cpcd-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-dnsf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-dnsf-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-hcm signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-hcm-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-idp signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-idp-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-ids signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-ids-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-jdpi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-jdpi-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-jflow signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-jflow-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-llpdf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-llpdf-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-lrf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-lrf-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-mobile signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-mobile-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-mss signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-mss-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-nat signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-nat-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-pcef signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-pcef-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-rpm signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-rpm-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-sfw signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-sfw-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-softwire signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-softwire-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-telemetry signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-telemetry-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-traffic-dird signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-traffic-dird-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jservices-urlf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jservices-urlf-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jsim-pfe-internal signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jsim-pfe-internal-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jsim-pfe-vmx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jsim-pfe-vmx-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jsim-pfe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jsim-pfe-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jsim-wrlinux signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jsim-wrlinux-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified jtpm2 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding jtpm2-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified junos-appidd-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-appidd-mx-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified junos-appidd-srx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified junos-attestation signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified junos-bbe-up signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-bbe-up-x86-64-23.3I-20230416_dev_common.0.1826 ...\nVerified junos-daemons-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-daemons-mx-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-daemons signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-daemons-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-dp-crypto-support-mtx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-dp-crypto-support-mtx-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified junos-ike-debug signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified junos-ike signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified junos-jsqlsync signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-jsqlsync-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified junos-km signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-km-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified junos-l2-rsi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-l2-rsi-20230417.054444__cd-builder_dev_common ...\nVerified junos-libs-compat32-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-libs-compat32-mx-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-libs-compat32-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-libs-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-libs-mx-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-libs-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-modules-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-modules-mx-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-modules signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-modules-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-net-mtx-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-net-mtx-prd-x86-64-20230417.021153__cd-builder_dev_common ...\nVerified junos-net-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-net-prd-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-openconfig signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-openconfig-x86-32-23.3I-20230416_dev_common.0.1826 ...\nVerified junos-platform signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-platform-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified junos-pppoe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified junos-probe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-probe-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-redis signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-redis-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified junos-routing-aggregated signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-routing-aggregated-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-routing-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-routing-compat32-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-routing-controller-external signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-routing-controller-external-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-routing-controller-internal signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-routing-controller-internal-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-routing-lsys signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-routing-lsys-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-routing-mpls-oam-advanced signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-routing-mpls-oam-advanced-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-routing-mpls-oam-basic signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-routing-mpls-oam-basic-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-rpd-telemetry-application signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-rpd-telemetry-application-x86-64-23.3I-20230416_dev_common.0.1826 ...\nVerified junos-runtime-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-runtime-mx-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified junos-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-runtime-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified junos-secintel signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-secintel-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified junos-security-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified junos-sysmond-full signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding junos-sysmond-full-x86-64-20230417.054444__cd-builder_dev_common ...\nVerified junos-unified-services signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified junos-vmguest-mtx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified junos-vmguest-nfx-3 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified junos-vmguest signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified jweb-srx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified jweb signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified na-telemetry signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding na-telemetry-x86-32-23.3I-20230416_dev_common.0.1826 ...\nVerified oam-ve signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nInstalling OAM volume contents ...\nThe OAM volume is now installed\nUpdating OAM boot\nUpdating OAM loader\nVerified os-boot-junos-ve signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nUpdating /boot junos-boot.tar ...\nUpdating /boot loader-ve-boot.tar ...\nAdding os-boot-junos-ve-x86-32-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...\nVerified os-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding os-compat32-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...\nVerified os-crypto signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding os-crypto-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...\nVerified os-forward-compat-11 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nVerified os-kernel-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding os-kernel-prd-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...\nVerified os-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding os-libs-compat32-12-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...\nVerified os-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding os-libs-12-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...\nVerified os-modules-net signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding os-modules-net-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...\nVerified os-package signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding os-package-20230405.180908__ci_fbsd_builder_stable_12 ...\nVerified os-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding os-runtime-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...\nVerified os-vmguest signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding os-vmguest-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...\nVerified os-zoneinfo signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding os-zoneinfo-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...\nVerified py-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding py-base-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified py-extensions signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding py-extensions-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified sflow-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nAdding sflow-mx-x86-32-20230417.054444__cd-builder_dev_common ...\nVerified vrr-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256\nNOTICE: 'pending' set will be activated at next reboot...\n Reboot successfully initiated. Reboot message: Shutdown NOW! [pid 62336]"
}
}
TASK [Check TEST - 1] *****************************************************************************************************************************************************
ok: [test] => {
"changed": false,
"msg": "All assertions passed"
}
RUNNING HANDLER [wait_reboot] *********************************************************************************************************************************************
ok: [test]
PLAY RECAP ****************************************************************************************************************************************************************
test : ok=5 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Thanks
Hi @dineshbaburam91 Please find the logs for specific member installation with no_copy: False ,
~/ansible_release_v103/ansible-junos-stdlib/tests# ansible-playbook pb.juniper_junos_software_member.yml
PLAY [Test juniper.device.software module] ********************************************************************************************************************************
TASK [Checking NETCONF connectivity] **************************************************************************************************************************************
ok: [test]
TASK [Install Junos OS package] *******************************************************************************************************************************************
changed: [test]
TASK [Print response] *****************************************************************************************************************************************************
ok: [test] => {
"test1": {
"changed": true,
"check_mode": false,
"failed": false,
"msg": "Package /root/ansible_release_v103/ansible-junos-stdlib/tests/junos-install-ex-x86-64-22.4I62500TB237700_cd-builder.tgz successfully installed. Response from device is: \n\n\n[Oct 16 00:52:25]: Checking pending install on fpc1\n\nPushing /var/tmp/junos-install-ex-x86-64-22.4I62500TB237700_cd-builder.tgz to fpc1:/var/tmp/junos-install-ex-x86-64-22.4I62500TB237700_cd-builder.tgz\nVerified junos-install-ex-x86-64-22.4I62500TB237700_cd-builder signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified auto-snapshot signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified deebe signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified dsa signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified dsa-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified fips-mode signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jail-runtime signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified jail-runtime-x86-32-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified jcommon-bios-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jcommon-bios-ex-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jdocs-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jdocs-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jpfe-EX44XX signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jpfe-EX44XX-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jphone-home signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jphone-home-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsd-jet-1 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsd-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsdn signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jsdn-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-daemons signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-daemons-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-dp-crypto-support-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-dp-crypto-support-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-l2-rsi signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-l2-rsi-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32-ex-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-compat32-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-libs-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules-ex-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-modules-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-dcp-inv signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-dcp-inv-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-inv signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-net-inv-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-openconfig signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-openconfig-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-platform-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-platform-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-probe signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-probe-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-aggregated signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-aggregated-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-compat32 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-compat32-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-lsys signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-lsys-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-mpls-oam-basic signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-routing-mpls-oam-basic-x86-64-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-runtime-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-runtime-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified junos-runtime signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jweb-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified jweb-ex-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified na-telemetry signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified na-telemetry-x86-32-22 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified oam-efi signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-efi signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-efi-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-junos-ve signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-boot-junos-ve-x86-32-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-compat32 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-compat32-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-crypto signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-crypto-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-efi signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-efi-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-kernel-wit signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-kernel-wit-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs-compat32 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs-compat32-12-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-libs-12-x86-64-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-package signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-package-20221117 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-runtime signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-vmguest signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-zoneinfo signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified os-zoneinfo-20221121 signed by PackageProductionECP256_2022 method ECDSA256+SHA256\nVerified platform-config-ex signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified platform-config-ex-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-base signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-base-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-extensions signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nVerified py-extensions-x86-32-20221128 signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256\nNOTICE: 'pending' set will be activated at next reboot... Reboot successfully initiated. Reboot message: \nRebooting fpc1\n"
}
}
TASK [Check TEST - 1] *****************************************************************************************************************************************************
ok: [test] => {
"changed": false,
"msg": "All assertions passed"
}
RUNNING HANDLER [wait_reboot] *********************************************************************************************************************************************
ok: [test]
PLAY RECAP ****************************************************************************************************************************************************************
test : ok=5 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
~/ansible_release_v103/ansible-junos-stdlib/tests# cat pb.juniper_junos_software_member.yml
---
- name: Test juniper.device.software module
hosts: all
collections:
- juniper.device
connection: local
gather_facts: no
vars:
wait_time: 3600
pkg_dir: /root/ansible_release_v103/ansible-junos-stdlib/tests/
OS_version: 22.4
OS_package: junos-install-ex-x86-64-22.4I62500TB237700_cd-builder.tgz
log_dir: /var/log/
tasks:
- name: Checking NETCONF connectivity
wait_for: host={{ ansible_ssh_host }} port=830 timeout=5
- name: Install Junos OS package
software:
reboot: yes
no_copy: False
all_re: False
version: "{{ OS_version }}"
package: "{{ pkg_dir }}/{{ OS_package }}"
logfile: "{{ log_dir }}/software.log"
member_id: ['1']
register: test1
notify:
- wait_reboot
- name: Print response
debug:
var: test1
- name: Check TEST - 1
assert:
that:
- test1.failed == false
handlers:
- name: wait_reboot
wait_for: host={{ ansible_ssh_host }} port=830 timeout={{ wait_time }}
when: not test1.check_mode
Thanks
Hi @dineshbaburam91 Following test results for all the EX-VC members installation without member_id option
Thanks