add blockerbugs-dev
This commit is contained in:
parent
a98ead2ef6
commit
c89600eb23
3 changed files with 58 additions and 14 deletions
13
inventory/host_vars/blockerbugs-dev.cloud.fedoraproject.org
Normal file
13
inventory/host_vars/blockerbugs-dev.cloud.fedoraproject.org
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
instance_type: m1.medium
|
||||
image: ${el6_qcow_id}
|
||||
keypair: fedora-admin
|
||||
security_group: webserver
|
||||
zone: nova
|
||||
hostbase: blockerbugs-dev-
|
||||
public_ip: 209.132.184.200
|
||||
root_auth_users: tflink mkrizek ilgiz
|
||||
description: blockerbugs-dev
|
||||
tcp_ports: ['22', '80', '443']
|
||||
volumes: ['-d /dev/vdb vol-00000021']
|
||||
|
|
@ -16,13 +16,6 @@ arm03-releng01.arm.fedoraproject.org
|
|||
arm03-releng02.arm.fedoraproject.org
|
||||
arm03-releng03.arm.fedoraproject.org
|
||||
|
||||
[blockerbugs]
|
||||
blockerbugs01.phx2.fedoraproject.org
|
||||
blockerbugs02.phx2.fedoraproject.org
|
||||
|
||||
[blockerbugs-stg]
|
||||
blockerbugs01.stg.phx2.fedoraproject.org
|
||||
|
||||
[app]
|
||||
app01.phx2.fedoraproject.org
|
||||
app02.phx2.fedoraproject.org
|
||||
|
@ -68,6 +61,21 @@ bastion01.phx2.fedoraproject.org
|
|||
bastion02.phx2.fedoraproject.org
|
||||
bastion-comm01.qa.fedoraproject.org
|
||||
|
||||
[blockerbugs]
|
||||
blockerbugs01.phx2.fedoraproject.org
|
||||
blockerbugs02.phx2.fedoraproject.org
|
||||
|
||||
[blockerbugs-stg]
|
||||
blockerbugs01.stg.phx2.fedoraproject.org
|
||||
blockerbugs-dev.cloud.fedoraproject.org
|
||||
|
||||
[bvirthost]
|
||||
bvirthost01.phx2.fedoraproject.org
|
||||
bvirthost02.phx2.fedoraproject.org
|
||||
bvirthost03.phx2.fedoraproject.org
|
||||
bvirthost04.phx2.fedoraproject.org
|
||||
bvirthost05.phx2.fedoraproject.org
|
||||
|
||||
[colo-virt]
|
||||
bodhost01.fedoraproject.org
|
||||
coloamer01.fedoraproject.org
|
||||
|
@ -109,13 +117,6 @@ fedocal01.stg.phx2.fedoraproject.org
|
|||
[gallery-stg]
|
||||
gallery01.stg.phx2.fedoraproject.org
|
||||
|
||||
[bvirthost]
|
||||
bvirthost01.phx2.fedoraproject.org
|
||||
bvirthost02.phx2.fedoraproject.org
|
||||
bvirthost03.phx2.fedoraproject.org
|
||||
bvirthost04.phx2.fedoraproject.org
|
||||
bvirthost05.phx2.fedoraproject.org
|
||||
|
||||
[collab]
|
||||
collab03.fedoraproject.org
|
||||
collab04.fedoraproject.org
|
||||
|
|
30
playbooks/hosts/blockerbugs-dev.cloud.fedoraproject.org.yml
Normal file
30
playbooks/hosts/blockerbugs-dev.cloud.fedoraproject.org.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
- name: check/create instance
|
||||
hosts: 209.132.184.200
|
||||
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: 209.132.184.200
|
||||
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
|
||||
- include: $tasks/iptables.yml
|
||||
|
||||
|
||||
handlers:
|
||||
- include: $handlers/restart_services.yml
|
Loading…
Add table
Add a link
Reference in a new issue