<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thanks Timo,<div><br></div><div>The "<span style="font-size: 12pt;">DEBIAN_FRONTEND=noninteractive </span>apt-get install freeipa-client -y" command<span style="font-size: 12pt;"> works on the terminal but within ansible playbook i am getting </span></div><div><p class="p1"><span class="s1">[Errno 2] No such file or directory", "rc": 2}  when adding command: </span><span style="font-size: 12pt;">DEBIAN_FRONTEND=noninteractive </span><span style="font-size: 12pt;">apt-get install freeipa-client -y</span></p><p class="p1"><span style="font-size: 12pt;"><br></span></p><p class="p1">any idea how can i get this resolved for ansible?  i tried "export <span style="font-size: 12pt;">DEBIAN_FRONTEND=noninteractive" and then "</span><span style="font-size: 12pt;">apt-get install freeipa-client -y"</span><span style="font-size: 12pt;">  but that did not help either still getting </span><span style="font-size: 12pt;">[Errno 2] No such file or directory", "rc": 2}</span><span style="font-size: 12pt;"> </span></p><p class="p1"><span style="font-size: 12pt;"><br></span></p><p class="p1"><span style="font-size: 12pt;">Thanks again,</span></p><p class="p1"><span style="font-size: 12pt;">Deepak</span></p><p class="p1"><span style="font-size: 12pt;"><br></span></p><br><div>> Subject: Re: [Freeipa-users] FreeIPA client installation on ubuntu 14.04<br>> To: deepak_dimri@hotmail.com; freeipa-users@redhat.com<br>> From: tjaalton@ubuntu.com<br>> Date: Wed, 21 Sep 2016 10:26:41 +0300<br>> <br>> On 21.09.2016 09:41, Deepak Dimri wrote:<br>> > Hi All,<br>> > <br>> > I am trying to install freeipa client on my ubuntu client via ansible<br>> > script. I have "apt-get update" and "apt-get install freeipa-client -y"<br>> > these basic commands added in my playbook but the problem is when i run<br>> > "apt-get install freeipa-client" with or without -y option it opens up<br>> > some graphical interface confirming the IPA realm and other details. I<br>> > did not find any option with in "apt-get install freeipa-client"to make<br>> > it deployment unattended. Can anyone please tell me the how i can<br>> > automate ipa-client installation on ubuntu?<br>> > <br>> > The same process works fine with RHEL using yum but i am unable to do so<br>> > for ubuntu with apt-get<br>> <br>> the dialog is from krb5-common, and you can skip it with<br>> <br>> DEBIAN_FRONTEND=noninteractive apt-get install ...<br>> <br></div></div>                                    </div></body>
</html>