An update that fixes 6 vulnerabilities is now available.
Description:
This update for ansible fixes the following issues:
Security vulnerabilities fixed:
– CVE-2018-16876: Respect no_log on retry and high verbosity (bsc#1118896)
– CVE-2018-16859: Windows – prevent sensitive content from appearing in
scriptblock logging (bsc#1116587)
– CVE-2018-10855: Fixed the honouration of the no_log option with failed
task iterations (boo#1097775)
– CVE-2017-7466: Fixed an input validation vulnerability in Ansible’s
handling
of data sent from client systems
– CVE-2017-7481: Fixed a security issue with lookup return not tainting
the jinja2 environment (bsc#1038785)
Other bug fixes and changes:
– Update to version 2.7.6
* Added log message at -vvvv when using netconf connection listing
connection details.
* Changes how ansible-connection names socket lock files. They now use
the same name as the socket itself, and as such do not lock other
attempts on connections to the same host, or cause issues with
overly-long hostnames.
* Fix mandatory statement error for junos modules
(https://github.com/ansible/ansible/pull/50138)
* Moved error in netconf connection plugin from at import to on
connection.
* This reverts some changes from commit 723daf3. If a line is found in
the file, exactly or via regexp matching, it must not be added again.
insertafter/insertbefore options are used only when a line is to be
inserted, to specify where it must be added.
* allow using openstack inventory plugin w/o a cache
* callbacks – Do not filter out exception, warnings, deprecations on
failure when using debug
(https://github.com/ansible/ansible/issues/47576)
* certificate_complete_chain – fix behavior when invalid file is parsed
while reading intermediate or root certificates.
* copy – Ensure that the src file contents is converted to unicode in
diff information so that it is properly wrapped by AnsibleUnsafeText
to prevent unexpected templating of diff data in Python3
(https://github.com/ansible/ansible/issues/45717)
* correct behaviour of verify_file for vmware inventory plugin, it was
always returning True
* dnf – fix issue where conf_file was not being loaded properly
* dnf – fix update_cache combined with install operation to not cause
dnf transaction failure
* docker_container – fix network_mode idempotency if the
container: form is used (as opposed to
container:)
(https://github.com/ansible/ansible/issues/49794)
* docker_container – warning when non-string env values are found,
avoiding YAML parsing issues. Will be made an error in Ansible 2.8.
(https://github.com/ansible/ansible/issues/49802)
* docker_swarm_service – Document labels and container_labels with
correct type.
* docker_swarm_service – Document limit_memory and reserve_memory
correctly on how to specify sizes.
* docker_swarm_service – Document minimal API version for configs and
secrets.
* docker_swarm_service – fix use of Docker API so that services are not
detected as present if there is an existing service whose name is a
substring of the desired service
* docker_swarm_service – fixing falsely reporting update_order as
changed when option is not used.
* document old option that was initally missed
* ec2_instance now respects check mode
https://github.com/ansible/ansible/pull/46774
* fix for network_cli – ansible_command_timeout not working as expected
(#49466)
* fix handling of firewalld port if protocol is missing
* fix lastpass lookup failure on python 3
(https://github.com/ansible/ansible/issues/42062)
* flatpak – Fixed Python 2/3 compatibility
* flatpak – Fixed issue where newer versions of flatpak failed on
flatpak removal
* flatpak_remote – Fixed Python 2/3 compatibility
* gcp_compute_instance – fix crash when the instance metadata is not set
* grafana_dashboard – Fix a pair of unicode string handling issues with
version checking (https://github.com/ansible/ansible/pull/49194)
* host execution order – Fix reverse_inventory not to change the order
of the items before reversing on python2 and to not backtrace on
python3
* icinga2_host – fixed the issue with not working use_proxy option of
the module.
* influxdb_user – An unspecified password now sets the password to
blank, except on existing users. This previously caused an unhandled
exception.
* influxdb_user – Fixed unhandled exception when using invalid login
credentials (https://github.com/ansible/ansible/issues/50131)
* openssl_* – fix error when path contains a file name without path.
* openssl_csr – fix problem with idempotency of keyUsage option.
* openssl_pkcs12 – now does proper path expansion for ca_certificates.
* os_security_group_rule – os_security_group_rule doesn’t exit properly
when secgroup doesn’t exist and state=absent
(https://github.com/ansible/ansible/issues/50057)
* paramiko_ssh – add auth_timeout parameter to ssh.connect when
supported by installed paramiko version. This will prevent
“Authentication timeout” errors when a slow authentication step (>30s)
happens with a host (https://github.com/ansible/ansible/issues/42596)
* purefa_facts and purefb_facts now correctly adds facts into main
ansible_fact dictionary (https://github.com/ansible/ansible/pull/50349)
* reboot – add appropriate commands to make the plugin work with VMware
ESXi (https://github.com/ansible/ansible/issues/48425)
* reboot – add support for rebooting AIX
(https://github.com/ansible/ansible/issues/49712)
* reboot – gather distribution information in order to support Alpine
and other distributions
(https://github.com/ansible/ansible/issues/46723)
* reboot – search common paths for the shutdown command and use the full
path to the binary rather than depending on the PATH of the remote
system (https://github.com/ansible/ansible/issues/47131)
* reboot – use a common set of commands for older and newer Solaris and
SunOS variants (https://github.com/ansible/ansible/pull/48986)
* redfish_utils – fix reference to local variable ‘systems_service’
* setup – fix the rounding of the ansible_memtotal_mb value on VMWare
vm’s (https://github.com/ansible/ansible/issues/49608)
* vultr_server – fixed multiple ssh keys were not handled.
* win_copy – Fix copy of a dir that contains an empty directory –
https://github.com/ansible/ansible/issues/50077
* win_firewall_rule – Remove invalid ‘bypass’ action
* win_lineinfile – Fix issue where a malformed json block was returned
causing an error
* win_updates – Correctly report changes on success
– update to version 2.7.5
* ACME modules: improve error messages in some cases (include error
returned by server).
* Added unit test for VMware module_utils.
* Also check stdout for interpreter errors for more intelligent messages
to user
* Backported support for Devuan-based distribution
* Convert hostvars data in OpenShift inventory plugin to be serializable
by ansible-inventory
* Fix AttributeError (Python 3 only) when an exception occurs while
rendering a template
* Fix N3K power supply facts
(https://github.com/ansible/ansible/pull/49150).
* Fix NameError nxos_facts
(https://github.com/ansible/ansible/pull/48981).
* Fix VMware module utils for self usage.
* Fix error in OpenShift inventory plugin when a pod has errored and is
empty
* Fix if the route table changed to none
(https://github.com/ansible/ansible/pull/49533)
* Fix iosxr netconf plugin response namespace
(https://github.com/ansible/ansible/pull/49300)
* Fix issues with nxos_install_os module for nxapi
(https://github.com/ansible/ansible/pull/48811).
* Fix lldp and cdp neighbors information
(https://github.com/ansible/ansible/pull/48318)(https://github.com/ansible/
ansible/pull/48087)(https://github.com/ansible/ansible/pull/49024).
* Fix nxos_interface and nxos_linkagg Idempotence issue
(https://github.com/ansible/ansible/pull/46437).
* Fix traceback when updating facts and the fact cache plugin was
nonfunctional
* Fix using vault encrypted data with jinja2_native
(https://github.com/ansible/ansible/issues/48950)
* Fixed: Make sure that the files excluded when extracting the archive
are not checked. https://github.com/ansible/ansible/pull/45122
* Fixes issue where a password parameter was not set to no_log
* aci_rest – Fix issue ignoring custom port
* acme_account, acme_account_facts – in some cases, it could happen that
the modules return information on disabled accounts accidentally
returned by the ACME server.
* docker_swarm – decreased minimal required API version from 1.35 to
1.25; some features require API version 1.30 though.
* docker_swarm_service: fails because of default “user: root”
(https://github.com/ansible/ansible/issues/49199)
* ec2_metadata_facts – Parse IAM role name from the security credential
field since the instance profile name is different
* fix azure_rm_image module use positional parameter
(https://github.com/ansible/ansible/pull/49394)
* fixes an issue with dict_merge in network utils
(https://github.com/ansible/ansible/pull/49474)
* gcp_utils – fix google auth scoping issue with application default
credentials or google cloud engine credentials. Only scope credentials
that can be scoped.
* mail – fix python 2.7 regression
* openstack – fix parameter handling when cloud provided as dict
https://github.com/ansible/ansible/issues/42858
* os_user – Include domain parameter in user deletion
https://github.com/ansible/ansible/issues/42901
* os_user – Include domain parameter in user lookup
https://github.com/ansible/ansible/issues/42901
* ovirt_storage_connection – comparing passwords breaks idempotency in
update_check (https://github.com/ansible/ansible/issues/48933)
* paramiko_ssh – improve log message to state the connection type
* reboot – use IndexError instead of TypeError in exception
* redis cache – Support version 3 of the redis python library
(https://github.com/ansible/ansible/issues/49341)
* sensu_silence – Cast int for expire field to avoid call failure to
sensu API.
* vmware_host_service_facts – handle exception when service package does
not have package name.
* win_nssm – Switched to Argv-ToString for escaping NSSM credentials
(https://github.com/ansible/ansible/issues/48728)
* zabbix_hostmacro – Added missing validate_certs logic for running
module against Zabbix servers with untrused SSL certificates
(https://github.com/ansible/ansible/issues/47611)
* zabbix_hostmacro – Fixed support for user macros with context
(https://github.com/ansible/ansible/issues/46953)
– update to version 2.7.4
* powershell – add lib/ansible/executor/powershell to the packaging data
– update to version 2.7.3
* Fix the issue that FTD HTTP API retries authentication-related HTTP
requests
* Fix the issue that module fails when the Swagger model does not have
required fields
* Fix the issue with comparing string-like objects
* Fix using omit on play keywords
* apt_key – Disable TTY requirement in GnuPG for the module to work
correctly when SSH pipelining is enabled
* better error message when bad type in config, deal with EVNAR= more
gracefully
* configuration retrieval would fail on non primed plugins
* cs_template – Fixed a KeyError on state=extracted
* docker_container – fix idempotency problems with docker-py caused by
previous init idempotency fix
* docker_container – fix interplay of docker-py version check with
argument_spec validation improvements
* docker_network – driver_options containing Python booleans would cause
Docker to throw exceptions
* ec2_group – Fix comparison of determining which rules to purge by
ignoring descriptions
* pip module – fix setuptools/distutils replacement
* sysvinit – enabling a service should use “defaults” if no runlevels
are specified
– update to version 2.7.2
* Minor changes
– update to 2.7.1
* Minor changes
– update to 2.7.0
* Allow config to enable native jinja types
* Remove support for simplejson
* yum and dnf modules now at feature parity
* Security Fix – avoid loading host/group vars from cwd when not
specifying a playbook or playbook base dir
* Security Fix – avoid using ansible.cfg in a world writable dir
* Some connection exception would cause no_log specified on a task to be
ignored (stdout info disclosure)
* Fix glob path of rc.d (SUSE-specific)
* Fix lambda_policy updates
* Fix alt linux detection/matching
– update to 2.6.4
* Add md5sum check in nxos_file_copy module
* Allow arbitrary log_driver for docker_container
* Fix Python2.6 regex bug terminal plugin nxos, iosxr
* Fix check_mode in nxos_static_route module
* Fix glob path of rc.d Some distribtuions like SUSE has the rc%.d
directories under /etc/init.d
* Fix network config diff issue for lines
* Fixed an issue where ansible_facts.pkg_mgr would incorrectly set to
zypper on Debian/Ubuntu systems that happened to have the command
installed
* The docker_* modules respect the DOCKER_* environment variables again
* The fix for CVE-2018-10875 prints out a warning message about skipping
a config file from a world writable current working directory.
However, if the user is in a world writable current working directory
which does not contain a config file, it should not print a warning
message. This release fixes that extaneous warning.
* To resolve nios_network issue where vendor-encapsulated-options can
not have a use_option flag.
* To resolve the issue of handling exception for Nios lookup gracefully.
* always correctly template no log for tasks
* ansible-galaxy – properly list all roles in roles_path
* basic.py – catch ValueError in case a FIPS enabled platform raises
this exception
* docker_container: fixing working_dir idempotency problem
* docker_container: makes unit parsing for memory sizes more consistent,
and fixes idempotency problem when kernel_memory is set
* fix example code for AWS lightsail documentation
* fix the enable_snat parameter that is only supposed to be used by an
user with the right policies.
* fixes docker_container check and debug mode
* improves docker_container idempotency
* ios_l2_interface – fix bug when list of vlans ends with comma
* ios_l2_interface – fix issue with certain interface types
* ios_user – fix unable to delete user admin issue
* ios_vlan – fix unable to work on certain interface types issue
* nxos_facts test lldp feature and fix nxapi check_rc
* nxos_interface port-channel idempotence fix for mode
* nxos_linkagg mode fix
* nxos_system idempotence fix
* nxos_vlan refactor to support non structured output
* one_host – fixes settings via environment variables
* use retry_json nxos_banner
* user – Strip trailing comments in /etc/default/passwd
* user – when creating a new user without an expiration date, properly
set no expiration rather that expirining the account
* win_domain_computer – fixed deletion of computer active directory
object that have dependent objects
* win_domain_computer – fixed error in diff_support
* win_domain_computer – fixed error when description parameter is empty
* win_psexec – changed code to not escape the command option when
building the args
* win_uri — Fix support for JSON output when charset is set
* win_wait_for – fix issue where timeout doesn’t wait unless
state=drained
– update to 2.6.3
* Fix lxd module to be idempotent when the given configuration for the
lxd container has not changed
* Fix setting value type to str to avoid conversion during template
read. Fix Idempotency in case of ‘no key’.
* Fix the mount module’s handling of swap entries in fstab
* The fix for (CVE-2018-10875) prints out a warning message about
skipping a config file from a world writable current working
directory. However, if the user explicitly specifies that the config
file should be used via the ANSIBLE_CONFIG environment variable then
Ansible would honor that but still print out the warning message. This
has been fixed so that Ansible honors the user’s explicit wishes and
does not print a warning message in that circumstance.
* To fix the bug where existing host_record was deleted when existing
record name is used with different IP.
* VMware handle pnic in proxyswitch
* fix azure security group cannot add rules when purge_rule set to false.
* fix azure_rm_deployment collect tags from existing Resource Group.
* fix azure_rm_loadbalancer_facts list takes at least 2 arguments.
* fix for the bundled selectors module (used in the ssh and local
connection plugins) when a syscall is restarted after being
interrupted by a signal
* get_url – fix the bug that get_url does not change mode when checksum
matches
* nicer error when multiprocessing breaks
* openssl_certificate – Convert valid_date to bytes for conversion
* openstack_inventory.py dynamic inventory file fixed the plugin to the
script so that it will work with current ansible-inventory. Also
redirect stdout before dumping the ouptput, because not doing so will
cause JSON parse errors in some cases.
* slack callback – Fix invocation by looking up data from cli.options
* sysvinit module: handle values of optional parameters. Don’t disable
service when enabled parameter isn’t set. Fix command when arguments
parameter isn’t set.
* vars_prompt – properly template play level variables in vars_prompt
* win_domain – ensure the Netlogon service is up and running after
promoting host to controller
* win_domain_controller – ensure the Netlogon service is up and running
after promoting host to controller
– update to 2.6.2
+ Add text output along with structured output in nxos_facts
+ Allow more than one page of results by using the right pagination
indicator (‘NextMarker’ instead of ‘NextToken’).
+ Fix an atomic_move error that is ‘true’, but misleading. Now we show
all 3 files involved and clarify what happened.
+ Fix eos_l2_interface eapi.
+ Fix fetching old style facts in junos_facts module
+ Fix get_device_info nxos zero or more whitespace regex
+ Fix nxos CI failures
+ Fix nxos_nxapi default http behavior
+ Fix nxos_vxlan_vtep_vni
+ Fix regex network_os_platform nxos
+ Refactor nxos cliconf get_device_info for non structured
output supported devices
+ To fix the NoneType error raised in ios_l2_interface when Access Mode
VLAN is unassigned
+ emtpy host/group name is an error
+ fix default SSL version for docker modules
+ fix mail module when using starttls
+ fix nmap config example
+ fix ps detection of service
+ fix the remote tmp folder permissions issue when becoming a non admin
user
+ fix typoe in sysvinit that breaks update.rc-d detection
+ fixes docker_container compatibilty with docker-py Read More