Skip to content

Update juniper.device.software module documentation for version: false #794

@chidanandpujar

Description

@chidanandpujar

Documentation changes.

https://galaxy.ansible.com/ui/repo/published/juniper/device/content/module/software/
Today:

The version of software contained in the file specified by the local_package and/or remote_package options. This value should match the Junos version which will be reported by the device once the new software is installed. If the device is already running a version of software which matches the version option value, the software install is not necessary. In this case the module returns a changed value of false and an failed value of false and does not attempt to perform the software install.

Suggested:

The version of software contained in the file specified by the local_package and/or remote_package options. This value should match the Junos version which will be reported by the device once the new software is installed. If the device is already running a version of software which matches the version option value, the software install is not necessary. In this case the module returns a changed value of false and an failed value of false and does not attempt to perform the software install.

Note: Setting version: false bypasses version checking and forces the software installation to proceed regardless of the currently installed version.

  • name: Install Junos OS package on both REs without reboot
    juniper.device.software:
    version: false
    remote_package: "{{ remote_package }}/{{ OS_package }}"
    cleanfs: false
    reboot: "false"
    validate: false
    reboot_pause: "60"
    logfile: "{{ log_dir }}/{{ inventory_hostname }}_software.log"
    vmhost: "{{ vmhost }}"
    install_timeout: 3600
    register: install_log

Metadata

Metadata

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions