How do u set Copr in 2 VPS?

7 views
Skip to first unread message

Ray Dobie

unread,
Jan 9, 2015, 3:24:19 AM1/9/15
to ansible...@googlegroups.com
Hi guys,

I need to set a Copr for community use, and I got vgologuz's email said there r new playbooks for Copr:
 http://infrastructure.fedoraproject.org/infra/ansible/playbooks/groups/copr-backend.yml
 http://infrastructure.fedoraproject.org/infra/ansible/playbooks/groups/copr-frontend.yml
So i just need to run (For production):
$yum install -y ansible
then set  [webservers]
copr.example.com ansible_ssh_port=5000 ansible_ssh_user=alice 
copr-be.example.com ansible_ssh_port=5001 ansible_ssh_user=bob


$ansible-playbooks copr-backend.yml
$ansible-playbooks copr-frontend.yml

Right/Wrong?(What is the right way?)(I Got 2 VPS )

Brian Coca

unread,
Jan 9, 2015, 5:46:37 PM1/9/15
to ansible...@googlegroups.com
without knowledge of copr, I would say you can put this all in 1
playbook, including the git checkout which ansible can do.

--
Brian Coca
Reply all
Reply to author
Forward
0 new messages