- defaultTab: nodes
description: |-
Update Juniper switch
<br><br>[Documentation](
https://mydocs/rundeck/rddocs.shtml?file=21f606f0-c45c-4b37-b192-a1f41986fd9c.html) [SHIFT-CLICK to open in new window]
executionEnabled: true
id: 21f606f0-c45c-4b37-b192-a1f41986fd9c
loglevel: INFO
maxMultipleExecutions: '8'
multipleExecutions: true
name: Juniper-Switch-UpdateSingle
nodeFilterEditable: false
nodefilters:
dispatch:
excludePrecedence: true
keepgoing: false
rankOrder: ascending
successOnEmptyNodeFilter: false
threadcount: '1'
filter: NYTXNODE
nodesSelectedByDefault: true
notification:
onfailure:
email:
recipients: '
all.n...@acme.com,
m...@acme.com'
subject: Juniper-Switch-Update - Failure - ${option.switch}
onsuccess:
email:
recipients:
'
all.n...@acme.com,
m...@acme.com'
subject: Juniper-Switch-Update - Success - ${option.switch}
notifyAvgDurationThreshold: null
options:
- description: |+
Enter the FQDN of the switch.
<br>For example :
<br>
AAAAA-CL-SW01.acme.corp
label: Switch Name
name: switch
required: true
- description: |
Select the Juniper switch OS version.
enforced: true
label: Required Version
name: reqVer
value: 21.4R3-S5.4
values:
- 21.4R3-S5.4
- 21.4R3.15
- 20.2R3.9
valuesListDelimiter: ','
valuesUrl: file:/home/rundeck/RDProjects/static/juniperVer.json
- hidden: true
label: apiUsername
name: apiUsername
value: NONE
- hidden: true
label: imageOnly
name: imageOnly
required: true
value: 'NO'
plugins:
ExecutionLifecycle: null
scheduleEnabled: true
sequence:
commands:
- exec: E:\AZDO-UAT\acme.rundeck.network\Juniper\JuniperSwitch-Upgrade.ps1 -imageOnly
${option.imageOnly} -switch ${option.switch} -reqVer ${option.reqVer} -jobusername
${job.username} -apiUsername ${option.apiUsername}
keepgoing: false
strategy: node-first
uuid: 21f606f0-c45c-4b37-b192-a1f41986fd9c