-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'IBM:dev-collection' into dev-collection
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
- name: "Demo VIOS upgrade" | ||
hosts: "{{ hosts_val }}" | ||
gather_facts: no | ||
vars: | ||
hosts_val: all | ||
dir: "/home/padmin/update" | ||
image_file: "/home/padmin/mymksysbA" | ||
disks: ['hdisk1', 'hdisk2'] | ||
filename: "/home/padmin/file_list_name" | ||
tasks: | ||
- name: Perform the VIOS upgrade operation on new rootvg disks hdisk1 and hdisk2 | ||
viosupgrade: | ||
image_file: "{{ image_file }}" | ||
mksysb_install_disks: "{{ disks }}" | ||
|
||
- name: Upgrade the VIOS that belongs to an SSP cluster | ||
viosupgrade: | ||
image_file: "{{ image_file }}" | ||
mksysb_install_disks: "{{ disks }}" | ||
cluster: yes | ||
|
||
- name: Copy files from the current rootvg disk to a newly installed VIOS image | ||
viosupgrade: | ||
image_file: "{{ image_file }}" | ||
mksysb_install_disks: "{{ disks }}" | ||
filename: "{{ filename }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters