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
The module doesn't allow for any values to be set, it returns an error of:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "value of state must be one of: , got: present"}
The options in the documentation allow for present as default but the Python code doesn't allow this.
Bug Report
netscaler.adc.hasync
$ python --version # or python3 --version Python 3.10.12
$ ansible --version ansible [core 2.15.8] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/admin/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/dist-packages/ansible ansible collection location = /home/admin/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/usr/bin/python3) jinja version = 3.0.3 libyaml = True
$ ansible-config dump --only-changed CONFIG_FILE() = /etc/ansible/ansible.cfg
$ ansible-galaxy collection list netscaler.adc netscaler.adc 2.4.0
> show ns version netscaler.adc 2.4.0
- name: Sync HA Config netscaler.adc.hasync: nsip: "{{ netscaler_ip }}" nitro_auth_token: "{{ login_result.sessionid }}" state: present save_config: yes save: 'YES' force: true
I expected the module to use the default value of 'present', however it doesn't accept this. #
No response
The text was updated successfully, but these errors were encountered:
fixed issue #360 hasync and hafailover
b2801d9
Signed-off-by: Sumanth Lingappa <sumanth.lingappa@cloud.com>
Merge pull request #366 from netscaler/360-bug-hasync-module-missing-…
9077207
…state-values fixed issue #360 hasync and hafailover
sumanth-lingappa
Successfully merging a pull request may close this issue.
Summary
The module doesn't allow for any values to be set, it returns an error of:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "value of state must be one of: , got: present"}
The options in the documentation allow for present as default but the Python code doesn't allow this.
Issue Type
Bug Report
Component Name
netscaler.adc.hasync
Python Version
Ansible Version
Ansible Configuration
netscaler.adc Collection Version
Target NetScaler Version
Equivalent NetScaler CLI Command
Steps to Reproduce
Expected Results
I expected the module to use the default value of 'present', however it doesn't accept this. #
Actual Results
fatal: [localhost]: FAILED! => {"changed": false, "msg": "value of state must be one of: , got: present"}
Additioinal Notes
No response
The text was updated successfully, but these errors were encountered: