Fix: Make "pyenv global" command work for all OSs 42/73142/1
authorEric Ball <eball@linuxfoundation.org>
Wed, 21 Aug 2024 00:47:04 +0000 (17:47 -0700)
committerEric Ball <eball@linuxfoundation.org>
Wed, 21 Aug 2024 00:47:04 +0000 (17:47 -0700)
commit708614a0b10573295b9d6403eaa80310fbbcd8f4
treead1dc9a2699089b0d25b424b6f3a9963c45bf807
parenta86f063e5ce8b6a1743dc7907fa293c292ad9c25
Fix: Make "pyenv global" command work for all OSs

It is unclear why Ubuntu was set to use "system <version>" for the
global python version. While this command does not cause an error,
it effectively sets the global version to the system version, which
is not what it's supposed to accomplish.

In order to set the version to "<version>", we need to remove
"system" from the command. This makes the command for CentOS and
Ubuntu identical, so decision code has also been removed.

Change-Id: I00a7c6e22c4c7be3ec230b755aa3372479d802ac
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
tasks/main.yml