ansible-aix / ansible-power-aix

Developer contributions for Ansible Automation on Power
GNU General Public License v3.0
3 stars 1 forks source link

nim_vios_alt_disk: multiple disk per target selection #48

Open robinvy opened 4 years ago

robinvy commented 4 years ago

This probably requires changing the targets attribute to a dictionary.

From targets: vios1,hdisk2,vios2,hdisk2 to:

targets:
  vios1
    name: quimbyios1
    disks: hdisk2, hdisk3
  vios2
    name: quimbyios2
    disks: hdisk2

In automatic mode, we could fail if the rootvg is mirrored as it is difficult to find a set of disks matching the mirror.

dberg1 commented 4 years ago
targets:
- quimbyvios1: hdisk2, hdisk3
  quimbyvios2: hdisk2
- quimbyvios3: hdisk4
- quimbyvios4: []