On 4/13/21 3:19 PM, rebecca acheampong wrote:
> I am sorry I don't know what is that. I am new to this using it for my final project.
> Should i send you my playbook and variable file again?
That's odd. I don't see a "summary" parameter at
https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_guest_module.html.
Which Ansible version do you use and what version is your Python module PyVmomi?
Regards
Racke
.
> Get Outlook for iOS <
https://aka.ms/o0ukef>
> ------------------------------------------------------------------------------------------------------------------------
> *From:*
ansible...@googlegroups.com <mailto:
ansible...@googlegroups.com> <
ansible...@googlegroups.com
> <mailto:
ansible...@googlegroups.com>> on behalf of rebecca acheampong <
bec1...@gmail.com
> <mailto:
bec1...@gmail.com>>
> *Sent:* Wednesday, April 14, 2021 1:10:06 AM
> *Subject:* Re: [ansible-project] Cannot create multiple VMs
> TypeError('Required field \"%s\" not provided (not @optional)' %
info.name <
http://info.name>)\nTypeError: Required
> field \"summary\" not provided (not @optional)\n", "module_stdout":
"", "msg": "MODULE FAILURE\nSee stdout/stderr
> for the exact error", "rc": 1}
> An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: Required
> field "summary" not provided (not @optional)
>
> Get Outlook for iOS <
https://aka.ms/o0ukef>
> ------------------------------------------------------------------------------------------------------------------------
> *Subject:* Re: [ansible-project] Cannot create multiple VMs
>
> I did the following error checks but don't understand what to do next
>
> ansible-playbook --check --list-tasks -i hosts vm2_play.yml
>
> playbook: vm2_play.yml
>
> play #1 (localhost): create vm TAGS: [ ]
> tasks:
> vmware_guest TAGS: [ ]
>
>
> ansible-playbook --check vm2_play.yml
>
> PLAY [create vm] *************************************************************************
>
> TASK [vmware_guest] **********************************************************************
> changed: [127.0.0.1 -> localhost] => (item=my_vm_03)
> changed: [127.0.0.1 -> localhost] => (item=my_vm_04)
>
>
> PLAY RECAP *******************************************************************************
> 127.0.0.1
: ok=1 changed=1 unreachable=0
failed=0 skipped=0 rescued=0
ignored=0
>
>
>
>
> On Tue, Apr 13, 2021 at 3:12 PM Komal Suthar <
komalsuth...@gmail.com
> <mailto:
komalsuth...@gmail.com>> wrote:
>
> And also while you run the playbook give the --syntax-check
argument as it was giving syntax error then
> theres no problem with the code it might be some indentation error try to look before or after the error line
>
> On Tue, Apr 13, 2021, 5:39 PM Komal Suthar <
komalsuth...@gmail.com
> <mailto:
komalsuth...@gmail.com>> wrote:
>
> Try giving loop instead of with_items
>
> <
http://info.name>)\nTypeError: Required field \"summary\" not provided (not @optional)\n",
> <mailto:
ansible-proje...@googlegroups.com>.
> <
https://groups.google.com/d/msgid/ansible-project/11a6e7ff-82ed-47aa-adf4-48c1237fab84n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
>
ansible-proje...@googlegroups.com <mailto:
ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ansible-project/CAGgS%3DuXd4VBznCT6qXt8xJnEouuMGyNqqm%2B-W%3DzER0Ocjdy0JQ%40mail.gmail.com
> <
https://groups.google.com/d/msgid/ansible-project/CAGgS%3DuXd4VBznCT6qXt8xJnEouuMGyNqqm%2B-W%3DzER0Ocjdy0JQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
>
ansible-proje...@googlegroups.com <mailto:
ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ansible-project/CAKQAy6oNu7VohvyUQF3iBaGb8uybGGG0d8%3Dvb-62Hem0%3DosTHw%40mail.gmail.com
> <
https://groups.google.com/d/msgid/ansible-project/CAKQAy6oNu7VohvyUQF3iBaGb8uybGGG0d8%3Dvb-62Hem0%3DosTHw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the
Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
>
ansible-proje...@googlegroups.com <mailto:
ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ansible-project/CAGgS%3DuXWdYnOStU3g7cD3%3DYz3vfSSz%2ByDS_Eze3JUhS_RHZH_A%40mail.gmail.com
> <
https://groups.google.com/d/msgid/ansible-project/CAGgS%3DuXWdYnOStU3g7cD3%3DYz3vfSSz%2ByDS_Eze3JUhS_RHZH_A%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
>
ansible-proje...@googlegroups.com <mailto:
ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ansible-project/CAKQAy6rof5mSteU8EkU%3Dw3soO82EZZccpvwM%3DquQD6%2BPn%3Du%2B-Q%40mail.gmail.com
> <
https://groups.google.com/d/msgid/ansible-project/CAKQAy6rof5mSteU8EkU%3Dw3soO82EZZccpvwM%3DquQD6%2BPn%3Du%2B-Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
>
ansible-proje...@googlegroups.com <mailto:
ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ansible-project/SYBPR01MB5616AE48EEC9BC03AEBE7885AD4F9%40SYBPR01MB5616.ausprd01.prod.outlook.com
> <
https://groups.google.com/d/msgid/ansible-project/SYBPR01MB5616AE48EEC9BC03AEBE7885AD4F9%40SYBPR01MB5616.ausprd01.prod.outlook.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
>
ansible-proje...@googlegroups.com <mailto:
ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ansible-project/CAKQAy6r4ZyuVj0N-_%2BOrYPgpwY6mB8K41ZvBpdeLQMjfyNUaTw%40mail.gmail.com
> <
https://groups.google.com/d/msgid/ansible-project/CAKQAy6r4ZyuVj0N-_%2BOrYPgpwY6mB8K41ZvBpdeLQMjfyNUaTw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
>
ansible-proje...@googlegroups.com <mailto:
ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ansible-project/SYBPR01MB5616612C2CFABDCA1E2C12FDAD4F9%40SYBPR01MB5616.ausprd01.prod.outlook.com
> <
https://groups.google.com/d/msgid/ansible-project/SYBPR01MB5616612C2CFABDCA1E2C12FDAD4F9%40SYBPR01MB5616.ausprd01.prod.outlook.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
>
ansible-proje...@googlegroups.com <mailto:
ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ansible-project/CAKQAy6qo0%2BzH6_69C5BA_F0xxmwAMW6gcF66XZ6aGpH95uHUjQ%40mail.gmail.com
> <
https://groups.google.com/d/msgid/ansible-project/CAKQAy6qo0%2BzH6_69C5BA_F0xxmwAMW6gcF66XZ6aGpH95uHUjQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.