Last active
April 1, 2019 15:41
-
-
Save servo56/5608c55dbd418c4b9406c4263e5cfb31 to your computer and use it in GitHub Desktop.
Format Drive for windows server D:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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 | |
ERROR Below | |
1 | |
Using /etc/ansible/ansible.cfg as config file | |
2 | |
SSH password: | |
3 | |
/tmp/awx_1195_BbuKSm/tmpZl2tyE did not meet host_list requirements, check plugin documentation if this is unexpected | |
4 | |
ERROR! A malformed block was encountered while loading tasks | |
5 | |
6 | |
The error appears to have been in '/var/lib/awx/projects/_12__ansible_dev/UAT/formatdrive.yml': line 2, column 3, but may | |
7 | |
be elsewhere in the file depending on the exact syntax problem. | |
8 | |
9 | |
The offending line appears to be: | |
10 | |
11 | |
--- | |
12 | |
- name: Create a partition with drive letter D and size 1020 GiB | |
13 | |
^ here | |
14 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment