Use command to set pythonintepreter
This commit cherrypick from commit369396d7cc
plus additional similiar change in ipaservices-baremetal-ansible.yaml. PythonInterpreter takes string value and let's use $(command -v python3 || command -v python) to find the interpreter value and it does not break existing user interface also. Closes-Bug: 1887146 Change-Id: Ia9c22c535f9a411ec2024ed5a1db911bf85dbf61 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com> (cherry picked from commit369396d7cc
)
This commit is contained in:
parent
72e20f3835
commit
8d2604deec
|
@ -35,7 +35,7 @@ parameters:
|
|||
PythonInterpreter:
|
||||
type: string
|
||||
description: The python interpreter to use for python and ansible actions
|
||||
default: /usr/bin/python
|
||||
default: "$(command -v python3 || command -v python)"
|
||||
MakeHomeDir:
|
||||
type: boolean
|
||||
description: Configure PAM to create a users home directory if it does not exist.
|
||||
|
|
|
@ -35,7 +35,7 @@ parameters:
|
|||
PythonInterpreter:
|
||||
type: string
|
||||
description: The python interpreter to use for python and ansible actions
|
||||
default: "/usr/bin/python"
|
||||
default: "$(command -v python3 || command -v python)"
|
||||
IdMDomain:
|
||||
default: ''
|
||||
description: IDM domain to register IDM client. Typically, this is discovered
|
||||
|
|
|
@ -58,7 +58,7 @@ parameters:
|
|||
PythonInterpreter:
|
||||
type: string
|
||||
description: The python interpreter to use for python and ansible actions
|
||||
default: /usr/bin/python
|
||||
default: "$(command -v python3 || command -v python)"
|
||||
NeutronEnableL2Pop:
|
||||
type: string
|
||||
description: Enable/disable the L2 population feature in the Neutron agents.
|
||||
|
|
Loading…
Reference in New Issue