View | Details | Raw Unified | Return to bug 206591 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +3 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	ansible
4
PORTNAME=	ansible
5
PORTVERSION?=	2.0.0.2
5
PORTVERSION?=	2.0.0.2
6
PORTREVISION?=	1
6
PORTREVISION?=	2
7
CATEGORIES=	sysutils python
7
CATEGORIES=	sysutils python
8
MASTER_SITES=	http://releases.ansible.com/ansible/
8
MASTER_SITES=	http://releases.ansible.com/ansible/
9
9
Lines 20-26 Link Here
20
20
21
OPTIONS_DEFINE=	DOCS EXAMPLES
21
OPTIONS_DEFINE=	DOCS EXAMPLES
22
22
23
EXTRA_PATCHES?=	${FILESDIR}/extra-patch-8647fdc
23
EXTRA_PATCHES?=	${FILESDIR}/extra-patch-8647fdc \
24
		${FILESDIR}/extra-patch-zzz-fix-su
24
25
25
NO_ARCH=	yes
26
NO_ARCH=	yes
26
USES=		cpe python:2 shebangfix
27
USES=		cpe python:2 shebangfix
(-)files/extra-patch-zzz-fix-su (+12 lines)
Line 0 Link Here
1
--- lib/ansible/plugins/action/__init__.py.orig	2016-01-25 14:44:22 UTC
2
+++ lib/ansible/plugins/action/__init__.py
3
@@ -490,6 +490,9 @@ class ActionBase(with_metaclass(ABCMeta,
4
             replacement strategy (python3 could use surrogateescape)
5
         '''
6
 
7
+        if self._play_context.become_method == 'su':
8
+            executable = None
9
+
10
         if executable is not None:
11
             cmd = executable + ' -c ' + pipes.quote(cmd)
12
 

Return to bug 206591