diff --git a/ansible/action_plugins/merge_configs.py b/ansible/action_plugins/merge_configs.py
index 27fcc532324cdffb4d956142add5402f9672dbe4..da2ab8fb66f564ffc882de68ea3cc1a538392daa 100644
--- a/ansible/action_plugins/merge_configs.py
+++ b/ansible/action_plugins/merge_configs.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Copyright 2015 Sam Yaple
 # Copyright 2017 99Cloud Inc.
diff --git a/ansible/action_plugins/merge_yaml.py b/ansible/action_plugins/merge_yaml.py
index 2aca22e9642c6c8288af04f0e7996fa41dc9d566..6ad232af82cb0e4c07e0a6c28bc416483d11afd1 100755
--- a/ansible/action_plugins/merge_yaml.py
+++ b/ansible/action_plugins/merge_yaml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Copyright 2015 Sam Yaple
 # Copyright 2016 intel
diff --git a/ansible/library/bslurp.py b/ansible/library/bslurp.py
index b117123cd9cebccd730d7d4b12642afefcd2fff3..b83603d295e7f8fae233b81b578dea7f47a36ca8 100644
--- a/ansible/library/bslurp.py
+++ b/ansible/library/bslurp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Copyright 2015 Sam Yaple
 #
diff --git a/ansible/library/kolla_docker.py b/ansible/library/kolla_docker.py
index 28c21a37eb986b733c949133c272cf192fac7e1c..e41c9b740c94b213407c095c21e950c6068551de 100644
--- a/ansible/library/kolla_docker.py
+++ b/ansible/library/kolla_docker.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Copyright 2015 Sam Yaple
 #
diff --git a/ansible/library/kolla_toolbox.py b/ansible/library/kolla_toolbox.py
index 2aaef46a3f5243ad68e3e33c0b3b9d8beed333c8..458665f35a4a725ad6995ad270659daf8235d3d4 100644
--- a/ansible/library/kolla_toolbox.py
+++ b/ansible/library/kolla_toolbox.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Copyright 2016 99cloud Inc.
 #
diff --git a/ansible/library/merge_configs.py b/ansible/library/merge_configs.py
index 5da09eed19ab4c979bcee0f3badeb70b8ca4df29..1a73e31018b01203eb7a6c9b0a8ebe28a976de40 100644
--- a/ansible/library/merge_configs.py
+++ b/ansible/library/merge_configs.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Copyright 2015 Sam Yaple
 #
diff --git a/ansible/library/merge_yaml.py b/ansible/library/merge_yaml.py
index 66d316fa51829ec21064514f00e335fbf4f09c4b..4d54b437d198a778e4fd24642e27910900e0c55f 100644
--- a/ansible/library/merge_yaml.py
+++ b/ansible/library/merge_yaml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Copyright 2015 Sam Yaple
 # Copyright 2016 intel
diff --git a/ansible/roles/keystone/files/fernet_rotate_cron_generator.py b/ansible/roles/keystone/files/fernet_rotate_cron_generator.py
index da468a8515945daa72eaae7c412ca17745ddaa19..c660ff34ec272eb3ec2d2505bbd0d0e1a941b208 100644
--- a/ansible/roles/keystone/files/fernet_rotate_cron_generator.py
+++ b/ansible/roles/keystone/files/fernet_rotate_cron_generator.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
diff --git a/tests/test_kolla_docker.py b/tests/test_kolla_docker.py
index 0a28f63d740b9f7ee1098bd9a4e9f881c153ea58..65874f179d75b103e8cf038576ad68d3c63eb95e 100644
--- a/tests/test_kolla_docker.py
+++ b/tests/test_kolla_docker.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Copyright 2016 NEC Corporation
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tests/test_merge_config.py b/tests/test_merge_config.py
index 6c4af336b5b640087201094a9fb19109b78c7296..b972cc9bf7f722ef0656234a6b44357f76e71262 100644
--- a/tests/test_merge_config.py
+++ b/tests/test_merge_config.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Copyright 2016 99cloud Inc.
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tools/validate-all-file.py b/tools/validate-all-file.py
index e44641291e9857c6f426121d829475ab4324f99b..b40df3e6f3e4b6988f73eef1d4a8c0727ca6f75a 100755
--- a/tools/validate-all-file.py
+++ b/tools/validate-all-file.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
diff --git a/tools/validate-yaml.py b/tools/validate-yaml.py
index 6df84ff07d374e5f8c70e4595da6d87c74269849..43156313e5984562e4b59f08f6f69de89e452d9b 100755
--- a/tools/validate-yaml.py
+++ b/tools/validate-yaml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.