# How do u set Copr in 2 VPS?

**URL:** <https://forum.ansible.com/t/how-do-u-set-copr-in-2-vps/17229>\
**Category:** Ansible Project\
**Created:** [January 9, 2015, 8:24am UTC](https://forum.ansible.com/t/how-do-u-set-copr-in-2-vps/17229 "2015-01-09T08:24:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ray\_Dobie](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Ray\_Dobie](https://forum.ansible.com/u/Ray_Dobie)\
**Post date:** [January 9, 2015, 8:24am UTC](https://forum.ansible.com/t/how-do-u-set-copr-in-2-vps/17229/1 "2015-01-09T08:24:19Z")

</div>

Hi guys,

I need to set a [Copr](https://fedorahosted.org/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-backend.yml)  
[http://infrastructure.fedoraproject.org/infra/ansible/playbooks/groups/copr-frontend.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](http://copr.example.com/) ansible\_ssh\_port=5000 ansible\_ssh\_user=alice  
copr-be.[example.com](http://example.com/) ansible\_ssh\_port=5001 ansible\_ssh\_user=bob

$git lone [https://git.fedorahosted.org/cgit/copr.git](https://git.fedorahosted.org/cgit/copr.git)

$ansible-playbooks [copr-backend.yml](http://infrastructure.fedoraproject.org/infra/ansible/playbooks/groups/copr-backend.yml)  
$ansible-playbooks [copr-frontend.yml](http://infrastructure.fedoraproject.org/infra/ansible/playbooks/groups/copr-frontend.yml)

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

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [January 9, 2015, 10:46pm UTC](https://forum.ansible.com/t/how-do-u-set-copr-in-2-vps/17229/2 "2015-01-09T22:46:34Z")

</div>

without knowledge of copr, I would say you can put this all in 1  
playbook, including the git checkout which ansible can do.
