-
Thomas Woerner authored
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
Thomas Woerner authoredThe 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