Add darkserver dev instance

This commit is contained in:
Jon Stanley 2014-08-09 16:12:39 +00:00
parent da295e39c0
commit 6824ae44f0
3 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# 2cpus, 3GB of ram 20GB of ephemeral space
instance_type: m1.large
# image id
image: ami-00000013
keypair: fedora-admin
# what security group to add the host to
security_group: webserver
zone: fedoracloud
# instance id will be appended
hostbase: darkserver-dev-
# ip should be in the 209.132.184.XXX range
public_ip: 209.132.184.148
# users/groups who should have root ssh access
root_auth_users: kushal @sysadmin-main
description: darkserver dev server

View file

@ -601,6 +601,9 @@ bodhi.dev.fedoraproject.org
# Koschei instance - ticket 4449 # Koschei instance - ticket 4449
koschei.cloud.fedoraproject.org koschei.cloud.fedoraproject.org
# darkserver-dev
209.132.184.148
[jenkins-slaves] [jenkins-slaves]
# EL-6 builder # EL-6 builder
209.132.184.165 209.132.184.165

View file

@ -0,0 +1,28 @@
- name: check/create instance
hosts: 209.132.184.148
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: $YOUR_HOSTNAME/IP HERE
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
# fill in other actions/includes/etc here
#
# handlers:
# - include: "{{ handlers }}/restart_services.yml