[Freeipa-users] FreeIPA client installation on ubuntu 14.04
Deepak Dimri
deepak_dimri at hotmail.com
Wed Sep 21 13:00:12 UTC 2016
I got it fixed my adding these in my playbook
- command: sudo env DEBIAN_FRONTEND=noninteractive
- shell: "DEBIAN_FRONTEND=noninteractive apt-get install freeipa-client -y"
Thanks,Deepak
> Subject: Re: [Freeipa-users] FreeIPA client installation on ubuntu 14.04
> To: deepak_dimri at hotmail.com; freeipa-users at redhat.com
> From: tjaalton at ubuntu.com
> Date: Wed, 21 Sep 2016 14:40:17 +0300
>
> On 21.09.2016 11:34, Deepak Dimri wrote:
> > Thanks Timo,
> >
> > The "DEBIAN_FRONTEND=noninteractive apt-get install freeipa-client -y"
> > command works on the terminal but within ansible playbook i am getting
> >
> > [Errno 2] No such file or directory", "rc": 2} when adding
> > command: DEBIAN_FRONTEND=noninteractive apt-get install freeipa-client -y
> >
> >
> > any idea how can i get this resolved for ansible? i tried
> > "export DEBIAN_FRONTEND=noninteractive" and then "apt-get install
> > freeipa-client -y" but that did not help either still getting [Errno 2]
> > No such file or directory", "rc": 2}
>
> no idea about that, but you could also preseed the debconf priority
> beforehand and then run apt-get, something like:
>
> echo 'debconf debconf/priority select critical' > /tmp/preseed
> debconf-set-selections /tmp/preseed
> apt-get ...
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20160921/5d9cee0c/attachment.htm>
More information about the Freeipa-users
mailing list