How can I add a PPA repository using Ansible using Linux

0 votes
asked Mar 4, 2016 by Pyr7929 (910 points)
I'm trying to add new repository to server so that I can install Java by Ansible. Unfortunately whenever I try to run playbook it fails because of GPG error.

5 Answers

–1 vote
answered May 24, 2016 by many3671 (430 points)
selected May 25, 2016 by qrfor
Best answer
I suddenly needed to do this task and found this topic
Read more about both here An Ansible Tutorial - Servers for Hackers
commented May 24, 2016 by question_2 (140 points)
Check the documentation on composite keys here
0 votes
answered Mar 20, 2016 by belkedu (600 points)

We can add this file path to the /etc/ansible/ansible. In my Vagrant server, they are located within /vagrant/ansible/roles. I've put some examples here An Ansible Tutorial - Servers for Hackers
commented Mar 20, 2016 by Qb_Not (230 points)
However, there are many more tools provided by Ansible to explore
0 votes
answered May 14, 2016 by Farrare (560 points)

Before we clone our Git repository, we need to make sure /var/www exists.
The rest adds in a module with the packages that we need.
I think we need to show some support for this feature on the connect site How To Deploy a Basic PHP Application Using Ansible on Ubuntu 14.04 | DigitalOcean
commented May 14, 2016 by play_with (390 points)
Hope above will help
0 votes
answered May 24, 2016 by timmerm (160 points)
Plug into your browser, you get a fairly good explanation there
Test framework can do this if you ask it to test a private function
0 votes
answered May 24, 2016 by Shearinof (210 points)
For more detail, check this link
It works I have used it

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!