]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: Add some shebangs to the jenkins_node module 1573/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 21 May 2020 21:14:53 +0000 (17:14 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 21 May 2020 21:24:03 +0000 (17:24 -0400)
This module wasn't working on python3-only distros.  This fixes it and is apparently fine.

https://blogs.gnome.org/mcatanzaro/2018/02/16/on-python-shebangs/

Signed-off-by: David Galloway <dgallowa@redhat.com>
ansible/library/jenkins_node

index f37846dab4be853981fa48183b4e820710d1b0a4..64ac95d292376c408b365bb8c83e5b62b267d3f1 100644 (file)
@@ -1,4 +1,7 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
+#!/usr/bin/python2
+#!/usr/bin/env python3
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 
 DOCUMENTATION = """