Subject: Re: [bug#33777] ansible: Work around issues with Guix wrapper scripts

From: Oleg Pykhalov <[email-masked]>
Date: Mon, 17 Dec 2018 22:29:39 +0300

Hello Arun,

Arun Isaac <[email-masked]> writes:

> This patch works around ansible's issues with Guix wrapper scripts. The
> earlier system using ansible-wrap-program-hack.patch was not working as
> expected.
>
> From 2a8d3b46aac378b077fb9ef296909c840fa9c42a Mon Sep 17 00:00:00 2001
> From: Arun Isaac <[email-masked]>
> Date: Mon, 17 Dec 2018 19:32:05 +0530
> Subject: [PATCH] gnu: ansible: Work around issues with Guix wrapper scripts.
>
> * gnu/packages/admin.scm (ansible)[source]: Remove
> ansible-wrap-program-hack.patch from patches.
> [arguments]: Add hide-wrapping and fix-symlinks phases.
> * gnu/packages/patches/ansible-wrap-program-hack.patch: Delete file.
> * gnu/local.mk (dist_patch_DATA): Unregister it.
> ---
>  gnu/local.mk                                  |  1 -
>  gnu/packages/admin.scm                        | 38 ++++++++++++++++++-
>  .../patches/ansible-wrap-program-hack.patch   | 22 -----------
>  3 files changed, 36 insertions(+), 25 deletions(-)
>  delete mode 100644 gnu/packages/patches/ansible-wrap-program-hack.patch

[…]

Thank you for the patch!  I succeeded to:

* run a playbook with ‘ansible-playbook’;
* ping a host with ‘ansible’ command;
* check ‘ansible-vault --help’.

I vote for a push.  :-)

Oleg.