From f90c332ee5f8b8fade829617c100d8dac5cad17f Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Thu, 12 Oct 2017 15:52:53 -0400 Subject: [PATCH] Fix module Python interpreter --- openshift/ansiblegen/templates/k8s_module.j2 | 3 ++- openshift/ansiblegen/templates/openshift_module.j2 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/openshift/ansiblegen/templates/k8s_module.j2 b/openshift/ansiblegen/templates/k8s_module.j2 index 33468896..9531a30b 100644 --- a/openshift/ansiblegen/templates/k8s_module.j2 +++ b/openshift/ansiblegen/templates/k8s_module.j2 @@ -1,4 +1,5 @@ -#!/usr/bin/env python +#!/usr/bin/python +# -*- coding: utf-8 -*- from ansible.module_utils.k8s_common import KubernetesAnsibleModule, KubernetesAnsibleException diff --git a/openshift/ansiblegen/templates/openshift_module.j2 b/openshift/ansiblegen/templates/openshift_module.j2 index fcb7601f..c54bb001 100644 --- a/openshift/ansiblegen/templates/openshift_module.j2 +++ b/openshift/ansiblegen/templates/openshift_module.j2 @@ -1,4 +1,5 @@ -#!/usr/bin/env python +#!/usr/bin/python +# -*- coding: utf-8 -*- from ansible.module_utils.openshift_common import OpenShiftAnsibleModule, OpenShiftAnsibleException