Add koschei cloud instance for testing - ticket 4449
This commit is contained in:
parent
70a2508f8f
commit
7507139e92
3 changed files with 42 additions and 0 deletions
11
inventory/host_vars/koschei.cloud.fedoraproject.org
Normal file
11
inventory/host_vars/koschei.cloud.fedoraproject.org
Normal 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']
|
|
@ -600,6 +600,8 @@ hrf.cloud.fedoraproject.org
|
||||||
209.132.184.157
|
209.132.184.157
|
||||||
# bodhi.dev.fedoraproject.org
|
# bodhi.dev.fedoraproject.org
|
||||||
bodhi.dev.fedoraproject.org
|
bodhi.dev.fedoraproject.org
|
||||||
|
# Koschei instance - ticket 4449
|
||||||
|
koschei.cloud.fedoraproject.org
|
||||||
|
|
||||||
[jenkins-slaves]
|
[jenkins-slaves]
|
||||||
# EL-6 builder
|
# EL-6 builder
|
||||||
|
|
29
playbooks/hosts/koschei.cloud.fedoraproject.org.yml
Normal file
29
playbooks/hosts/koschei.cloud.fedoraproject.org.yml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue