Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add variable anywhere async_status is used #73

Open
CptLuxx opened this issue Aug 29, 2024 · 2 comments
Open

Add variable anywhere async_status is used #73

CptLuxx opened this issue Aug 29, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@CptLuxx
Copy link

CptLuxx commented Aug 29, 2024

Could we change the retrie count in "roles/veeam_vas/tasks/new_vbr_install.yml" to a variable? Like {{ veeam_retries | default ('60')}}. As im working with some slow Servers and the Installation will not finish within the 60 retries.

@carceneaux
Copy link
Contributor

Thanks for the feedback! I'll plan on adding this functionality to my next release.

My plan will be to add this type variable anyplace async_status is being used. In this manner, folks can adjust this number to needs of their environment.

- name: Install Veeam Backup & Replication
ansible.windows.win_package:
path: "{{ source }}Setup\\Silent\\Veeam.Silent.Install.exe"
state: present
arguments: '/AnswerFile "{{ destination }}VbrAnswerFile_install.xml" /SkipNetworkLogonErrors /LogFolder "{{ destination }}logs"'
async: 3600
poll: 0
register: async_result
- name: Check on Veeam Backup & Replication install status
ansible.builtin.async_status:
jid: "{{ async_result.ansible_job_id }}"
register: async_poll_results
until: async_poll_results.finished
retries: 60
delay: 60

@carceneaux carceneaux self-assigned this Aug 29, 2024
@carceneaux carceneaux changed the title Add Retrie var Add variable anywhere async_status is used Aug 29, 2024
@carceneaux carceneaux added the enhancement New feature or request label Aug 29, 2024
@CptLuxx CptLuxx closed this as completed Aug 29, 2024
@carceneaux carceneaux reopened this Aug 29, 2024
@carceneaux
Copy link
Contributor

Reopening as I'll use this issue to track the progress of this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants