# how to create a new hard disk?

**URL:** <https://forum.ansible.com/t/how-to-create-a-new-hard-disk/30242>\
**Category:** Ansible Project\
**Created:** [May 2, 2019, 6:55am UTC](https://forum.ansible.com/t/how-to-create-a-new-hard-disk/30242 "2019-05-02T06:55:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lander7500](https://avatars.discourse-cdn.com/v4/letter/l/ecae2f/32.png) [@lander7500](https://forum.ansible.com/u/lander7500)\
**Post date:** [May 2, 2019, 6:55am UTC](https://forum.ansible.com/t/how-to-create-a-new-hard-disk/30242/1 "2019-05-02T06:55:22Z")

</div>

I know to use this task:

- name: Add HardDisk  
vmware\_guest:  
hostname: “{{ hostname }}”  
username: “{{ username }}”  
password: “{{ password }}”  
validate\_certs: no  
folder: /  
name: “{{vm}}”  
disk:
- size\_gb: “{{gb}}”

Create a hard disk, but i doesn’t work. Exist other form?
