sync up copr-fe-dev playbook with copr-fe

This commit is contained in:
Miroslav Suchý 2014-05-30 11:19:40 +00:00
parent 960d87f8ca
commit 727ae15ed3
3 changed files with 12 additions and 2 deletions

2
files/copr/forward-dev Normal file
View file

@ -0,0 +1,2 @@
msuchy+coprmachine@redhat.com
asamalik@redhat.com

View file

@ -1,11 +1,11 @@
---
instance_type: m1.medium
image: "{{ f19_qcow_id }}"
image: "{{ f20_qcow_id }}"
keypair: fedora-admin-20130801
security_group: webserver
zone: nova
hostbase: copr-fe-dev-
public_ip: 209.132.184.183
root_auth_users: bkabrda ryanlerch pingou msuchy tradej
root_auth_users: bkabrda ryanlerch pingou msuchy tradej asamalik
description: copr frontend server - dev instance
tcp_ports: ['22', '80', '443']

View file

@ -31,6 +31,12 @@
- name: set the hostname
shell: hostname copr-fe-dev.cloud.fedoraproject.org
- name: copy .forward file
action: copy src="{{ files }}/copr/forward-dev" dest=/root/.forward owner=root group=root
- name: deploy /etc/hosts file
action: copy src="{{ files }}/copr/hosts" dest=/etc/hosts owner=root group=root mode=644
- name: install copr-fe pkgs
action: yum state=latest pkg={{ item }}
with_items:
@ -94,4 +100,6 @@
- fail2ban
handlers:
- name: restart httpd
service: name=httpd state=restarted
- include: "{{ handlers }}/restart_services.yml"