Add darkserver dev instance
This commit is contained in:
parent
da295e39c0
commit
6824ae44f0
3 changed files with 47 additions and 0 deletions
16
inventory/host_vars/209.132.184.148
Normal file
16
inventory/host_vars/209.132.184.148
Normal 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
|
||||||
|
|
|
@ -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
|
||||||
|
|
28
playbooks/hosts/209.132.184.148.yml
Normal file
28
playbooks/hosts/209.132.184.148.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue