mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix mysql-server install/upgrade on Ubuntu 16.04. (#39241)
* Fix mysql-server install/upgrade on Ubuntu 16.04. * Prevent service restart in docker_secret test.
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
set -eu
|
||||
|
||||
# Required for newer mysql-server packages to install/upgrade on Ubuntu 16.04.
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
|
||||
# Support images with only python3 installed.
|
||||
if [ ! -f /usr/bin/python ] && [ -f /usr/bin/python3 ]; then
|
||||
ln -s /usr/bin/python3 /usr/bin/python
|
||||
|
||||
Reference in New Issue
Block a user