Drop 16 lines that we can collapse into one line.

This commit is contained in:
Kevin Fenzi 2015-08-18 19:26:55 +00:00
parent f8c898cce3
commit facc6b217c
75 changed files with 76 additions and 1141 deletions

View file

@ -1,23 +1,5 @@
# create a new sks keyserver # create a new sks keyserver
# NOTE: should be used with --limit most of the time - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=anitya"
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/gallery-web* or from hostvars
- name: make the servers
hosts: anitya
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the boxen be real for real - name: make the boxen be real for real
hosts: anitya hosts: anitya

View file

@ -1,18 +1,4 @@
- name: make ask - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ask-stg:ask"
hosts: ask-stg:ask
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: ask-stg:ask hosts: ask-stg:ask

View file

@ -2,22 +2,7 @@
# #
# This server looks for rawhide builds and requests they be signed. # This server looks for rawhide builds and requests they be signed.
# #
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=autosign"
- name: make autosign server
hosts: autosign
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: autosign hosts: autosign

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make badges-backend server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges-backend:badges-backend-stg"
hosts: badges-backend;badges-backend-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the generic configuration - name: dole out the generic configuration
hosts: badges-backend;badges-backend-stg hosts: badges-backend;badges-backend-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/badges-web* or from hostvars # NOTE: most of these vars_path come from group_vars/badges-web* or from hostvars
- name: make badges-web server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges-web;badges-web-stg"
hosts: badges-web;badges-web-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: badges-web;badges-web-stg hosts: badges-web;badges-web-stg

View file

@ -1,18 +1,4 @@
- name: make the servers - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bastion"
hosts: bastion
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the boxen be real for real - name: make the boxen be real for real
hosts: bastion hosts: bastion

View file

@ -2,21 +2,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make beaker server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=beaker-stg"
hosts: beaker-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: beaker-stg hosts: beaker-stg

View file

@ -2,21 +2,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make beaker server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=beaker"
hosts: beaker
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: beaker hosts: beaker

View file

@ -1,18 +1,4 @@
- name: make blockerbugs servers - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=blockerbugs:blockerbugs-stg"
hosts: blockerbugs:blockerbugs-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: blockerbugs:blockerbugs-stg hosts: blockerbugs:blockerbugs-stg

View file

@ -5,21 +5,7 @@
# They also run some misc releng scripts. # They also run some misc releng scripts.
# #
- name: make bodhi-backend systems - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bodhi-backend:bodhi-backend-stg"
hosts: bodhi-backend:bodhi-backend-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
# Once the instance exists, configure it. # Once the instance exists, configure it.

View file

@ -1,18 +1,4 @@
- name: make bodhi2 - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bodhi2:bodhi2-stg"
hosts: bodhi2:bodhi2-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: bodhi2:bodhi2-stg hosts: bodhi2:bodhi2-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make bugzilla2fedmsg server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bugzilla2fedmsg:bugzilla2fedmsg-stg"
hosts: bugzilla2fedmsg;bugzilla2fedmsg-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the generic configuration - name: dole out the generic configuration
hosts: bugzilla2fedmsg;bugzilla2fedmsg-stg hosts: bugzilla2fedmsg;bugzilla2fedmsg-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this builder on the buildvmhost # NOTE: make sure there is room/space for this builder on the buildvmhost
# NOTE: most of these vars_path come from group_vars/buildvm or from hostvars # NOTE: most of these vars_path come from group_vars/buildvm or from hostvars
- name: make buildvm - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=buildvm:buildvm-stg"
hosts: buildvm:buildvm-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make koji builder(s) - name: make koji builder(s)
hosts: buildvm:buildvm-stg hosts: buildvm:buildvm-stg

View file

@ -1,18 +1,4 @@
- name: make busgateway server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=busgateway:busgateway-stg"
hosts: busgateway;busgateway-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the generic configuration - name: dole out the generic configuration
hosts: busgateway;busgateway-stg hosts: busgateway;busgateway-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this instance on the buildvmhost # NOTE: make sure there is room/space for this instance on the buildvmhost
# NOTE: most of these vars_path come from group_vars/releng or from hostvars # NOTE: most of these vars_path come from group_vars/releng or from hostvars
- name: make releng systems - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=composers:composers-stg"
hosts: composers;composers-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
# Once the instance exists, configure it. # Once the instance exists, configure it.

View file

@ -1,20 +1,6 @@
# create a new datagrepper server # create a new datagrepper server
- name: make datagrepper server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=datagrepper:datagrepper-stg"
hosts: datagrepper;datagrepper-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: datagrepper;datagrepper-stg hosts: datagrepper;datagrepper-stg

View file

@ -1,18 +1,4 @@
- name: make dhcp server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=dhcp"
hosts: dhcp
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: dhcp hosts: dhcp

View file

@ -1,23 +1,6 @@
# create a new fas server # create a new dns server
#
#
- name: make dns server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=dns"
hosts: dns
user: root
gather_facts: False
accelerate: "{{ accelerated }}"
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: dns hosts: dns

View file

@ -1,18 +1,4 @@
- name: make docs-backend server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=docs-backend"
hosts: docs-backend
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: docs-backend hosts: docs-backend

View file

@ -1,20 +1,4 @@
- name: make secondary download virt - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=download-ibiblio"
hosts: download-ibiblio
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: Download servers - name: Download servers
hosts: download hosts: download

View file

@ -1,18 +1,4 @@
- name: make elections - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=elections:elections-stg"
hosts: elections;elections-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: elections;elections-stg hosts: elections;elections-stg

View file

@ -1,23 +1,6 @@
# create a new fas server # create a new fas server
#
#
- name: make fas server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fas:fas-stg"
hosts: fas-stg:fas
user: root
gather_facts: False
accelerate: "{{ accelerated }}"
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: fas-stg:fas hosts: fas-stg:fas

View file

@ -1,21 +1,7 @@
# create a new fedimg server # create a new fedimg server
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
- name: make fedimg server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fedimg:fedimg-stg"
hosts: fedimg;fedimg-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the generic configuration - name: dole out the generic configuration
hosts: fedimg;fedimg-stg hosts: fedimg;fedimg-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/gallery-web* or from hostvars # NOTE: most of these vars_path come from group_vars/gallery-web* or from hostvars
- name: make gallery server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=gallery"
hosts: gallery-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: gallery-stg hosts: gallery-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/github2fedmsg* or from hostvars # NOTE: most of these vars_path come from group_vars/github2fedmsg* or from hostvars
- name: make github2fedmsg server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=github2fedmsg:github2fedmsg-stg"
hosts: github2fedmsg;github2fedmsg-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: github2fedmsg;github2fedmsg-stg hosts: github2fedmsg;github2fedmsg-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make hotness server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=hotness:hotness-stg"
hosts: hotness;hotness-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the generic configuration - name: dole out the generic configuration
hosts: hotness;hotness-stg hosts: hotness;hotness-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/ipsilon* or from hostvars # NOTE: most of these vars_path come from group_vars/ipsilon* or from hostvars
- name: make ipsilon - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ipsilon:ipsilon-stg"
hosts: ipsilon:ipsilon-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: ipsilon:ipsilon-stg hosts: ipsilon:ipsilon-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/kerneltest* or from hostvars # NOTE: most of these vars_path come from group_vars/kerneltest* or from hostvars
- name: make kerneltest server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=kerneltest:kerneltest-stg"
hosts: kerneltest-stg:kerneltest
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: kerneltest-stg:kerneltest hosts: kerneltest-stg:kerneltest

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/gallery-web* or from hostvars # NOTE: most of these vars_path come from group_vars/gallery-web* or from hostvars
- name: make sks keyserver - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=keys"
hosts: keys
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: keys hosts: keys

View file

@ -2,21 +2,7 @@
# NOTE: should be used with --limit most of the time # NOTE: should be used with --limit most of the time
# NOTE: most of these vars_path come from group_vars/koji-hub or from hostvars # NOTE: most of these vars_path come from group_vars/koji-hub or from hostvars
- name: make koji hub - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=koji-stg:koji01.phx2.fedoraproject.org:koji02.phx2.fedoraproject.org:s390-koji01.qa.fedoraproject.org"
hosts: koji-stg:koji01.phx2.fedoraproject.org:koji02.phx2.fedoraproject.org:s390-koji01.qa.fedoraproject.org
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
# Once the instance exists, configure it. # Once the instance exists, configure it.

View file

@ -1,18 +1,4 @@
- name: make the servers - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=kojipkgs"
hosts: kojipkgs
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the boxen be real for real - name: make the boxen be real for real
hosts: kojipkgs hosts: kojipkgs

View file

@ -1,18 +1,4 @@
- name: make koschei - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=koschei:koschei-stg"
hosts: koschei:koschei-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: install koschei - name: install koschei
hosts: koschei:koschei-stg hosts: koschei:koschei-stg

View file

@ -1,18 +1,4 @@
- name: make lockbox - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=lockbox"
hosts: lockbox
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: lockbox hosts: lockbox

View file

@ -1,18 +1,4 @@
- name: make logs server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=log01.phx2.fedoraproject.org"
hosts: log01.phx2.fedoraproject.org
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: log01.phx2.fedoraproject.org hosts: log01.phx2.fedoraproject.org

View file

@ -2,21 +2,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make mailman server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mailman:mailman-stg"
hosts: mailman-stg:mailman
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: mailman-stg:mailman hosts: mailman-stg:mailman

View file

@ -2,21 +2,7 @@
# NOTE: should be used with --limit most of the time # NOTE: should be used with --limit most of the time
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars # NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
- name: make mariadb-server instance - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db03.phx2.fedoraproject.org:db03.stg.phx2.fedoraproject.org"
hosts: db03.phx2.fedoraproject.org:db03.stg.phx2.fedoraproject.org
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
# Once the instance exists, configure it. # Once the instance exists, configure it.

View file

@ -1,18 +1,4 @@
- name: make memcached server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=memcached:memcached-stg"
hosts: memcached:memcached-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: memcached:memcached-stg hosts: memcached:memcached-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make mirrorlist app server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mirrorlist2:mirrorlist2-stg"
hosts: mirrorlist2:mirrorlist2-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: mirrorlist2:mirrorlist2-stg hosts: mirrorlist2:mirrorlist2-stg

View file

@ -1,18 +1,4 @@
- name: make the servers - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mm:mm-stg"
hosts: mm;mm-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the boxe be real for real - name: make the boxe be real for real
hosts: mm;mm-stg hosts: mm;mm-stg

View file

@ -1,18 +1,4 @@
- name: make nagios/noc server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nagios"
hosts: nagios
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: nagios hosts: nagios

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make notifs-backend server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=notifs-backend:notifs-backend-stg"
hosts: notifs-backend;notifs-backend-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the generic configuration - name: dole out the generic configuration
hosts: notifs-backend;notifs-backend-stg hosts: notifs-backend;notifs-backend-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/notifs-web* or from hostvars # NOTE: most of these vars_path come from group_vars/notifs-web* or from hostvars
- name: make notifs-web server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=notifs-web:notifs-web-stg"
hosts: notifs-web;notifs-web-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: notifs-web;notifs-web-stg hosts: notifs-web;notifs-web-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/nuancier* or from hostvars # NOTE: most of these vars_path come from group_vars/nuancier* or from hostvars
- name: make nuancier - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nuancier:nuancier-stg"
hosts: nuancier;nuancier-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: nuancier;nuancier-stg hosts: nuancier;nuancier-stg

View file

@ -1,18 +1,4 @@
- name: make osbs server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=osbs-stg"
hosts: osbs-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
# Once the instance exists, configure it. # Once the instance exists, configure it.

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/packages* or from hostvars # NOTE: most of these vars_path come from group_vars/packages* or from hostvars
- name: make packages server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=packages:packages-stg"
hosts: packages;packages-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: packages;packages-stg hosts: packages;packages-stg

View file

@ -1,18 +1,4 @@
- name: make the servers - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pagure:pagure-stg"
hosts: pagure:pagure-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the boxen be real for real - name: make the boxen be real for real
hosts: pagure:pagure-stg hosts: pagure:pagure-stg

View file

@ -1,18 +1,4 @@
- name: make paste - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=paste:paste-stg"
hosts: paste-stg:paste
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: paste-stg:paste hosts: paste-stg:paste

View file

@ -1,21 +1,7 @@
# Create a people server # Create a people server
# #
# #
- name: make the people server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=people01.fedoraproject.org"
hosts: people01.fedoraproject.org
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: people01.fedoraproject.org hosts: people01.fedoraproject.org

View file

@ -2,22 +2,7 @@
# NOTE: should be used with --limit most of the time # NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/pkgdb* or from hostvars # NOTE: most of these vars_path come from group_vars/pkgdb* or from hostvars
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgdb:pkgdb-stg"
- name: make pkgdb
hosts: pkgdb-stg;pkgdb
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: pkgdb-stg;pkgdb hosts: pkgdb-stg;pkgdb

View file

@ -1,18 +1,4 @@
- name: make pkgs - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgs-stg:pkgs02.phx2.fedoraproject.org"
hosts: pkgs-stg:pkgs02.phx2.fedoraproject.org
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: pkgs-stg:pkgs02.phx2.fedoraproject.org hosts: pkgs-stg:pkgs02.phx2.fedoraproject.org

View file

@ -2,21 +2,7 @@
# NOTE: should be used with --limit most of the time # NOTE: should be used with --limit most of the time
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars # NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
- name: make postgresql-server instance - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db-datanommer02.phx2.fedoraproject.org:db-qa01.qa.fedoraproject.org:db-koji01.phx2.fedoraproject.org:db-fas01.stg.phx2.fedoraproject.org:db-fas01.phx2.fedoraproject.org:db01.phx2.fedoraproject.org:db01.stg.phx2.fedoraproject.org:db-s390-koji01.qa.fedoraproject.org"
hosts: db-datanommer02.phx2.fedoraproject.org:db-qa01.qa.fedoraproject.org:db-koji01.phx2.fedoraproject.org:db-fas01.stg.phx2.fedoraproject.org:db-fas01.phx2.fedoraproject.org:db01.phx2.fedoraproject.org:db01.stg.phx2.fedoraproject.org:db-s390-koji01.qa.fedoraproject.org
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
# Once the instance exists, configure it. # Once the instance exists, configure it.

View file

@ -1,20 +1,6 @@
# create a new proxy server # create a new proxy server
- name: make new proxy server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=proxies:proxies-stg"
hosts: proxies-stg:proxies
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: proxies-stg:proxies hosts: proxies-stg:proxies

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make taskotron-ci staging - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=qa-stg"
hosts: qa-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: qa-stg hosts: qa-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: ensure qadevel instance is created - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=qadevel"
hosts: qadevel
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: qadevel hosts: qadevel

View file

@ -1,18 +1,4 @@
- name: make releng systems - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=compose-x86-01.phx2.fedoraproject.org"
hosts: compose-x86-01.phx2.fedoraproject.org
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: Setup releng compose hosts - name: Setup releng compose hosts
hosts: releng-compose hosts: releng-compose

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make resultsdb dev - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=resultsdb-dev"
hosts: resultsdb-dev
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: resultsdb-dev hosts: resultsdb-dev

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make resultsdb production - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=resultsdb-prod"
hosts: resultsdb-prod
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: resultsdb-prod hosts: resultsdb-prod

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make resultsdb staging - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=resultsdb-stg"
hosts: resultsdb-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: resultsdb-stg hosts: resultsdb-stg

View file

@ -1,19 +1,4 @@
- name: make secondary arch download - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=secondary"
hosts: secondary
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: setup secondary arch download server - name: setup secondary arch download server
hosts: secondary hosts: secondary

View file

@ -6,21 +6,7 @@
# Access is via management interface only. This playbook does initial setup. # Access is via management interface only. This playbook does initial setup.
# Please check with rel-eng before doing anything here. # Please check with rel-eng before doing anything here.
- name: make sign-bridge server vm - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=sign-bridge"
hosts: sign-bridge
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: configure sign bridge server - name: configure sign bridge server
hosts: sign-bridge hosts: sign-bridge

View file

@ -1,20 +1,6 @@
# create smtp servers # create smtp servers
- name: make smtp server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=smtp-mm"
hosts: smtp-mm
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: smtp-mm hosts: smtp-mm

View file

@ -1,18 +1,4 @@
- name: make statscache server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=statscache:statscache-stg"
hosts: statscache;statscache-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: statscache;statscache-stg hosts: statscache;statscache-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make summershum server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=summershum;summershum-stg"
hosts: summershum;summershum-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the generic configuration - name: dole out the generic configuration
hosts: summershum;summershum-stg hosts: summershum;summershum-stg

View file

@ -3,21 +3,7 @@
# These servers run a number of smaller apps that don't merit their own instances. # These servers run a number of smaller apps that don't merit their own instances.
# #
- name: make sundries server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=sundries:sundries-stg"
hosts: sundries;sundries-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: sundries;sundries-stg hosts: sundries;sundries-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/tagger* or from hostvars # NOTE: most of these vars_path come from group_vars/tagger* or from hostvars
- name: make tagger server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=tagger:tagger-stg"
hosts: tagger;tagger-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: tagger;tagger-stg hosts: tagger;tagger-stg

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make taskotron-dev clients - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=taskotron-dev-clients"
hosts: taskotron-dev-clients
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: taskotron-dev-clients hosts: taskotron-dev-clients

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make taskotron dev - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=taskotron-dev"
hosts: taskotron-dev
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: taskotron-dev hosts: taskotron-dev

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make taskotron-prod clients - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=taskotron-prod-clients"
hosts: taskotron-prod-clients
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: taskotron-prod-clients hosts: taskotron-prod-clients

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make taskotron production - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=taskotron-prod"
hosts: taskotron-prod
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: taskotron-prod hosts: taskotron-prod

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make taskotron-stg clients - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=taskotron-stg-clients"
hosts: taskotron-stg-clients
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: taskotron-stg-clients hosts: taskotron-stg-clients

View file

@ -3,21 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make taskotron staging - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=taskotron-stg"
hosts: taskotron-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: taskotron-stg hosts: taskotron-stg

View file

@ -1,18 +1,4 @@
- name: make torrent server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges-web;badges-web-stg"
hosts: torrent
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: torrent hosts: torrent

View file

@ -1,18 +1,4 @@
- name: make unbound - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=unbound"
hosts: unbound
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: unbound hosts: unbound

View file

@ -1,18 +1,4 @@
- name: make value add servers - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=value:value-stg"
hosts: value:value-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: value:value-stg hosts: value:value-stg

View file

@ -3,21 +3,7 @@
# These servers run mediawiki for the main fedora wiki instance. # These servers run mediawiki for the main fedora wiki instance.
# #
- name: make wiki server - include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=wiki:wiki-stg"
hosts: wiki:wiki-stg
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real - name: make the box be real
hosts: wiki:wiki-stg hosts: wiki:wiki-stg