# "timeout" vs "async/poll" when provisioning containers via community.general.proxmox

**URL:** <https://forum.ansible.com/t/timeout-vs-async-poll-when-provisioning-containers-via-community-general-proxmox/37386>\
**Category:** Ansible Project\
**Created:** [November 25, 2022, 9:06am UTC](https://forum.ansible.com/t/timeout-vs-async-poll-when-provisioning-containers-via-community-general-proxmox/37386 "2022-11-25T09:06:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsabater](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jsabater/32/3799_2.png) [@jsabater](https://forum.ansible.com/u/jsabater)\
**Post date:** [November 25, 2022, 9:06am UTC](https://forum.ansible.com/t/timeout-vs-async-poll-when-provisioning-containers-via-community-general-proxmox/37386/1 "2022-11-25T09:06:26Z")

</div>

Hey everyone!

I have a playbook that successfully provisions a number of LXC in my Proxmox cluster using community.general.proxmox. I have been using either the timeout: 30 option from [the module](https://docs.ansible.com/ansible/latest/collections/community/general/proxmox_module.html#parameter-timeout) or the combination of async: 30 and poll: 5 and both have rendered good results.

The example usage of the timeout option in [the documentation of the proxmox module](https://docs.ansible.com/ansible/latest/collections/community/general/proxmox_module.html#examples) only covers starting the container. By reading the [Asynchronous actions and polling docs](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_async.html) I realise they are not exactly the same and could even produce undesired results, which leads me to believe that I should actually be using the timeout option.

So I would like to know which one do you guys use and why.

Thanks in advance.
