Skip to content

Instantly share code, notes, and snippets.

@servo56
Created April 1, 2019 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save servo56/2a6b13d7e482ef0f301fe8e00c56e747 to your computer and use it in GitHub Desktop.
Save servo56/2a6b13d7e482ef0f301fe8e00c56e747 to your computer and use it in GitHub Desktop.
---
- name: Create a partition with drive letter D and size 1020 GiB
hosts: "{{host}}"
tasks:
- 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