copr-fe server

This commit is contained in:
Seth Vidal 2012-11-27 19:47:19 +00:00
parent e2e9534b9c
commit 177cbb7d92
3 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,11 @@
---
instance_type: m1.large
image: emi-B8793915
keypair: admin
security_group: webserver
zone: fedoracloud
hostbase: copr-fe-
public_ip: 209.132.184.114
root_auth_users: skvidal bkabrda
description: copr frontend server
volumes: ['-d /dev/vdb vol-25FC4013']

View file

@ -299,6 +299,8 @@ virthost-comm01.qa.fedoraproject.org
209.132.184.100
#fedocal.dev.fedoraproject.org
209.132.184.113
#copr-fe.cloud.fedoraproject.org
209.132.184.114
[twistedbots]
#rhel6 twisted testbot - ticket 3537

View file

@ -0,0 +1,39 @@
- name: check/create instance
hosts: 209.132.184.114
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- ${private}/vars.yml
tasks:
- include: $tasks/persistent_cloud.yml
- name: provision instance
hosts: 209.132.184.114
user: root
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- ${private}/vars.yml
- ${vars}/${ansible_distribution}.yml
tasks:
- include: $tasks/cloud_setup_basic.yml
- name: mount up disk of copr fe
action: mount name=/srv/copr-fe src='LABEL=copr-fe' fstype=ext4 state=mounted
# open up ports (22, 80, 443)
- name: poke holes in the firewall
action: command lokkit $item
with_items:
- --service=ssh
- --service=https
- --service=http
handlers:
- include: $handlers/restart_services.yml