Partition and mount additional disks
Description
This automation playbook partitions and mounts additional disks on the target hosts. It identifies the boot device, creates a udev rule to fix the boot device to /dev/sda, and reboots the system if necessary.
It then partitions and formats the additional disks as XFS, and mounts them at specified mount points.
Credentials
- sys_ansible_local
Input
| Variable | Description |
|---|---|
target |
The target hosts for the playbook |
diskletters |
Comma-separated list of mount points |
disksizes |
Comma-separated list of disk sizes |
diskpaths |
List of disk paths |
Output
None