File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
snapshot_report_from_files Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,8 @@ argument_specs:
1414 right_snapshot :
1515 type : " str"
1616 required : true
17- description : " The second snapshot to compare, usually this snapshot is the one taken after any upgrades or changes"
17+ description : " The second snapshot to compare, usually this snapshot is the one taken after any upgrades or changes"
18+ report_output_file :
19+ type : " str"
20+ required : false
21+ description : " The name of the report to save. Defaults to report.json"
Original file line number Diff line number Diff line change 88 set_fact :
99 left_full_path : " {{ [snapshot_directory, left_snapshot] | path_join }}.json"
1010 right_full_path : " {{ [snapshot_directory, right_snapshot] | path_join }}.json"
11+ report_output_file : " {{ report_output_file | default('report.json') }}"
1112
1213- name : Set Snapshot Data
1314 set_fact :
Original file line number Diff line number Diff line change 2222- name : Install target version - !! DEVICE WILL RESTART !!
2323 paloaltonetworks.panos.panos_software :
2424 provider : ' {{ provider }}'
25- version : ' {{ base_image }}'
25+ version : ' {{ version }}'
2626 install : true
2727 restart : true
2828
Original file line number Diff line number Diff line change 5151 vars :
5252 left_snapshot : " pre_upgrade_snapshot_{{ serialno }}"
5353 right_snapshot : " post_upgrade_snapshot_{{ serialno }}"
54+ report_output_file : " {{ serialno }}_report.json"
You can’t perform that action at this time.
0 commit comments