Skip to content

Python script to identify unused physical disks and create virtual disks.

Notifications You must be signed in to change notification settings

jhn--/create_vdisks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

create_vdisks

Python script to identify unused physical disks and create virtual disks.

Runs on Python 2.7.

Can be used with Ansible using command module.

Example ################################################################################################

  • name: Copy dell_autocreate_vdisk.py to node copy: src=/etc/ansible/roles/common/files/dell_autocreate_vdisk.py dest=/tmp/dell_autocreate_vdisk.py

  • name: Copy fdisk_choices to node copy: src=/etc/ansible/roles/common/files/fdisk_choices dest=/tmp/fdisk_choices

  • name: Create vdisks! command: /bin/python /tmp/dell_autocreate_vdisk.py when: dell_autocreate_vdisk.stat.exists == True and fdisk_choices.stat.exists == True ################################################################################################

About

Python script to identify unused physical disks and create virtual disks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages