Use py2 shebang for centos distro installs
Since CentOS 7 do not have packaged swift library for py3, py2 shebang should be used in python script so that they could import libraries Change-Id: If42feb0bb3ed0de211e5fba65c59d9ef50d199ce
This commit is contained in:
parent
1e6cc45d97
commit
1993c6e4a7
@ -1,4 +1,4 @@
|
||||
#!{{ swift_bin }}/{{ swift_venv_python_executable }}
|
||||
#!{{ swift_bin }}/{{ (swift_install_method == 'distro' and ansible_os_family | lower == 'redhat' and ansible_distribution_major_version is version('7', '<=')) | ternary('python', swift_venv_python_executable) }}
|
||||
# Copyright 2014, Rackspace US, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!{{ swift_bin }}/{{ swift_venv_python_executable }}
|
||||
#!{{ swift_bin }}/{{ (swift_install_method == 'distro' and ansible_os_family | lower == 'redhat' and ansible_distribution_major_version is version('7', '<=')) | ternary('python', swift_venv_python_executable) }}
|
||||
# Copyright 2014, Rackspace US, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
Loading…
Reference in New Issue
Block a user