Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bunchc/50596421c9ba8bd4f4696991a9e3d05f to your computer and use it in GitHub Desktop.
Save bunchc/50596421c9ba8bd4f4696991a9e3d05f to your computer and use it in GitHub Desktop.
---
- name: Create a partition with drive letter D and size 1020 GiB
hosts: "{{host}}"
tasks:
- name: do the thing
win_partition:
drive_letter: D
partition_size: 1020 GiB
disk_number: 2
Using /etc/ansible/ansible.cfg as config file
SSH password:
/tmp/awx_1237_o9njOb/tmplDxUVS did not meet host_list requirements, check plugin documentation if this is unexpected
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
The error appears to have been in '/var/lib/awx/projects/_12__ansible_dev/UAT/formatdrive.yml': line 5, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- win_partition:
^ here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment