-
Notifications
You must be signed in to change notification settings - Fork 199
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
ansible_mitogen blacklists third-party modules #1011
Comments
There is a bug here but I'm afraid fixing it wouldn't allow mitogen to send the lxml module. Importing The error message should have been
|
To use the Ansible xml module you'll need to install lxml on the target host(s), regardless of Mitogen. |
|
Current module whitelist/blacklist behaviour is to reject any module not on the whitelist if the whitelist is populated. Adding `ansible` and `ansible_mitogen` to the whitelist effectively blocklisted every other Python module/package, negating much of the benefit of Mitogen. Fixes mitogen-hq#1011
Looking through old commits this behaviour appears to be by design. If so it comes as a surprise to me. |
Current module whitelist/blacklist behaviour is to reject any module not on the whitelist if the whitelist is populated. Adding `ansible` and `ansible_mitogen` to the whitelist effectively blocklisted every other Python module/package, negating much of the benefit of Mitogen. Fixes mitogen-hq#1011
Current module whitelist/blacklist behaviour is to reject any module not on the whitelist if the whitelist is populated. Adding `ansible` and `ansible_mitogen` to the whitelist effectively blocklisted every other Python module/package, negating much of the benefit of Mitogen. Fixes mitogen-hq#1011
Previous phrasing was misleading - it implied a given module was explicitly on the blacklist, even if it was due to a restrictive whitelist and the blacklist was empty. Arguably the blacklist/whitelist semantics are themselves misleading. A redesign is tempting. See also mitogen-hq#1011, mitogen-hq#808
Hi,
I'd like to use xml module in my playbooks, but lxml python module required for operation is implicitly blacklisted for some unknown reason.
The text was updated successfully, but these errors were encountered: