We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When specifying wait_time_s in zos_operator using ZOAU 1.2.1h early version it throws TypeError.
zos_operator
Ansible version output: ansible [core 2.11.12] config file = None configured module search path = ['/Users/fernandoflores/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /Users/fernandoflores/Library/Python/3.8/lib/python/site-packages/ansible ansible collection location = /Users/fernandoflores/.ansible/collections:/usr/share/ansible/collections executable location = /Users/fernandoflores/Library/Python/3.8/bin/ansible python version = 3.8.9 (default, Apr 13 2022, 08:48:07) [Clang 13.1.6 (clang-1316.0.21.2.5)] jinja version = 3.1.2 libyaml = True
1.4.0-beta.1
2022/08/25 21:44:21 CUT V1.2.1 31163ab 1856
Reproduction playbook/yaml - hosts: zvm collections: - ibm.ibm_zos_core gather_facts: no vars: ZOAU: "/zoau/v1.2.1h" PYZ: "/python2/usr/lpp/IBM/cyp/v3r9/pyz" tasks: - name: Call opercmd with 5 seconds delay zos_operator: cmd: "d u,all" verbose: True wait_time_s: 5 wait: True register: result - name: show response debug: msg: "{{ result }}"
Executes and returns the result with a wait of maximum 5 seconds for the job.
Playbook output: fatal: [zvm]: FAILED! => {"changed": false, "msg": "An unexpected error occurred: ZOAUException(\"'timeout' must be an integer.\")"}
'ansible-config dump --only-changed' output:
Inventory content:
'group_vars' or 'host_vars' content:
The text was updated successfully, but these errors were encountered:
Thankyou @fernandofloresg
Sorry, something went wrong.
fernandofloresg
Successfully merging a pull request may close this issue.
SUMMARY
When specifying wait_time_s in zos_operator using ZOAU 1.2.1h early version it throws TypeError.
COMPONENT NAME
zos_operator
ANSIBLE VERSION
SPECIFY ANSIBLE COLLECTION VERSION
1.4.0-beta.1
SPECIFY THE Z OPEN AUTOMATION UTILITIES VERSION
2022/08/25 21:44:21 CUT V1.2.1 31163ab 1856
ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
Executes and returns the result with a wait of maximum 5 seconds for the job.
ACTUAL RESULTS
CONFIGURATION
Ansible.cfg
Inventory
Vars
SCREENSHOTS
The text was updated successfully, but these errors were encountered: