ansible_freeipa_module.py: Calm down ansible-test on print and sys.exit
The function exit_raw_json is a replacement for AnsibleModule.exit_json without flterting out values for no_log parameters. Ansible added checks for pylint to forbid print and also sys.exit and fails with ansible-bad-function. As the check is not known outside of ansible-test, the disable line needed also W0012: # pylint: disable=W0012,ansible-bad-function
Loading
Please register or sign in to comment