1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/modules/packaging/os
Matt Clay 53b0fd65ee Split shell command to avoid use_unsafe_shell.
This mirrors a nearly identical change made to apt_repository.py.

Also removes the use of apt-get --force-yes as it can be dangerous
and should not be necessary (apt_repository.py does not use it).

Repeating the explanation from the apt_respository change below:

Since use_unsafe_shell is suspicious from a security point
of view (or it wouldn't be unsafe), the less we have, the less
code we have to thoroughly inspect for a security audit.

In this case, the '&&' can be replaced by doing 2 calls to run_command.
2016-12-08 11:24:09 -05:00
..
__init__.py Some more module categorization. 2016-12-08 11:22:25 -05:00
apt.py Split shell command to avoid use_unsafe_shell. 2016-12-08 11:24:09 -05:00
apt_key.py apt-key: convert ids to the 'short' format 2016-12-08 11:24:00 -05:00
apt_repository.py Show error if python-apt is absent in check mode. 2016-12-08 11:24:01 -05:00
apt_rpm.py Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
package.py updated docs for package 2016-12-08 11:23:30 -05:00
redhat_subscription.py add no_log to the password parameter 2016-12-08 11:23:55 -05:00
rhn_channel.py Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
rhn_register.py Do not use a shell construct for rhnreg_ks 2016-12-08 11:24:01 -05:00
rpm_key.py removed syslog in favor of common module logging functions 2016-12-08 11:23:38 -05:00
yum.py Fix for yum's use of rpm with non English locales 2016-12-08 11:24:00 -05:00