Re: [Freeipa-users] FreeIPA client installation on ubuntu, 14.04
Hello Deepak, If you know in advance what infos you want to enter input, you can try putting them in a file "inputs" and execute apt-get install freeipa-client -y < inputs > I am trying to install freeipa client on my ubuntu client via ansible > script. I have "apt-get update" and "apt-get install freeipa-client -y" > these basic commands added in my playbook but the problem is when i run > "apt-get install freeipa-client" with or without -y option it opens up > some graphical interface confirming the IPA realm and other details. I > did not find any option with in "apt-get install freeipa-client"to make > it deployment unattended. Can anyone please tell me the how i can > automate ipa-client installation on ubuntu? -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
Re: [Freeipa-users] FreeIPA client installation on ubuntu 14.04
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_di...@hotmail.com; freeipa-users@redhat.com > From: tjaal...@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 ... > > -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
Re: [Freeipa-users] FreeIPA client installation on ubuntu 14.04
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 ... -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
Re: [Freeipa-users] FreeIPA client installation on ubuntu 14.04
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} Thanks again,Deepak > Subject: Re: [Freeipa-users] FreeIPA client installation on ubuntu 14.04 > To: deepak_di...@hotmail.com; freeipa-users@redhat.com > From: tjaal...@ubuntu.com > Date: Wed, 21 Sep 2016 10:26:41 +0300 > > On 21.09.2016 09:41, Deepak Dimri wrote: > > Hi All, > > > > I am trying to install freeipa client on my ubuntu client via ansible > > script. I have "apt-get update" and "apt-get install freeipa-client -y" > > these basic commands added in my playbook but the problem is when i run > > "apt-get install freeipa-client" with or without -y option it opens up > > some graphical interface confirming the IPA realm and other details. I > > did not find any option with in "apt-get install freeipa-client"to make > > it deployment unattended. Can anyone please tell me the how i can > > automate ipa-client installation on ubuntu? > > > > The same process works fine with RHEL using yum but i am unable to do so > > for ubuntu with apt-get > > the dialog is from krb5-common, and you can skip it with > > DEBIAN_FRONTEND=noninteractive apt-get install ... > -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
Re: [Freeipa-users] FreeIPA client installation on ubuntu 14.04
On 21.09.2016 09:41, Deepak Dimri wrote: > Hi All, > > I am trying to install freeipa client on my ubuntu client via ansible > script. I have "apt-get update" and "apt-get install freeipa-client -y" > these basic commands added in my playbook but the problem is when i run > "apt-get install freeipa-client" with or without -y option it opens up > some graphical interface confirming the IPA realm and other details. I > did not find any option with in "apt-get install freeipa-client"to make > it deployment unattended. Can anyone please tell me the how i can > automate ipa-client installation on ubuntu? > > The same process works fine with RHEL using yum but i am unable to do so > for ubuntu with apt-get the dialog is from krb5-common, and you can skip it with DEBIAN_FRONTEND=noninteractive apt-get install ... -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
[Freeipa-users] FreeIPA client installation on ubuntu 14.04
Hi All, I am trying to install freeipa client on my ubuntu client via ansible script. I have "apt-get update" and "apt-get install freeipa-client -y" these basic commands added in my playbook but the problem is when i run "apt-get install freeipa-client" with or without -y option it opens up some graphical interface confirming the IPA realm and other details. I did not find any option with in "apt-get install freeipa-client"to make it deployment unattended. Can anyone please tell me the how i can automate ipa-client installation on ubuntu? The same process works fine with RHEL using yum but i am unable to do so for ubuntu with apt-get Thanks,Deepak -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project