Add koschei cloud instance for testing - ticket 4449

This commit is contained in:
Kevin Fenzi 2014-07-21 22:07:16 +00:00
parent 70a2508f8f
commit 7507139e92
3 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,11 @@
instance_type: m1.small
image: ami-00000042
keypair: fedora-admin
security_group: webserver
zone: fedoracloud
hostbase: hostname_base-
public_ip: 209.132.184.151
# users/groups who should have root ssh access
root_auth_users: mizdebsk msimacek
description: Koschei - ticket 4449
volumes: ['-d /dev/vdb vol-0000002c']

View file

@ -600,6 +600,8 @@ hrf.cloud.fedoraproject.org
209.132.184.157
# bodhi.dev.fedoraproject.org
bodhi.dev.fedoraproject.org
# Koschei instance - ticket 4449
koschei.cloud.fedoraproject.org
[jenkins-slaves]
# EL-6 builder

View file

@ -0,0 +1,29 @@
- name: check/create instance
hosts: koschei.cloud.fedoraproject.org
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
tasks:
- include: "{{ tasks }}/persistent_cloud.yml"
- include: "{{ tasks }}/growroot_cloud.yml"
- name: provision instance
hosts: koschei.cloud.fedoraproject.org
user: root
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"
- include: "{{ tasks }}/postfix_basic.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"