updating playbooks to work with ansible 2.14

This commit is contained in:
Andrew Heath 2023-05-18 15:28:34 -04:00
parent 2f6b3c6fc1
commit a961a5ed7d
52 changed files with 152 additions and 52 deletions

View file

@ -3,7 +3,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges_backend:badges_backend_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "badges_backend:badges_backend_stg"
- name: dole out the generic configuration
hosts: badges_backend:badges_backend_stg

View file

@ -3,7 +3,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges_web:badges_web_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "badges_web:badges_web_stg"
- name: make the box be real
hosts: badges_web:badges_web_stg

View file

@ -1,6 +1,8 @@
# create a new basset server
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=basset:basset_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "basset:basset_stg"
- name: make the box be real
hosts: basset:basset_stg

View file

@ -1,6 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: bastion
myhosts: "bastion"
- name: make the boxen be real for real
hosts: bastion

View file

@ -1,6 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: batcave
myhosts: "batcave"
- name: make the box be real
hosts: batcave

View file

@ -5,7 +5,9 @@
# They also run some misc releng scripts.
#
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bodhi_backend:bodhi_backend_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "bodhi_backend:bodhi_backend_stg"
# Once the instance exists, configure it.

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/happy_birthday.yml myhosts=buildhw:bkernel"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/happy_birthday.yml"
vars:
myhosts: "buildhw:bkernel"
- name: make koji builder(s) on raw hw
hosts: buildhw:bkernel

View file

@ -3,7 +3,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=buildvm:buildvm_stg:buildvm_aarch64:buildvm_ppc64le:buildvm_ppc64le_stg:buildvm_aarch64_stg:buildvm_s390x_kvm"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "buildvm:buildvm_stg:buildvm_aarch64:buildvm_ppc64le:buildvm_ppc64le_stg:buildvm_aarch64_stg:buildvm_s390x_kvm"
- name: make koji builder(s)
hosts: buildvm:buildvm_stg:buildvm_aarch64:buildvm_ppc64le:buildvm_ppc64le_stg:buildvm_aarch64_stg:buildvm_s390x:buildvm_s390x_stg

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=busgateway:busgateway_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "busgateway:busgateway_stg"
- name: dole out the generic configuration
hosts: busgateway:busgateway_stg

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=centos_ipa_client_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "centos_ipa_client_stg"
- name: make the boxes be realen
hosts: centos_ipa_client_stg

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=certgetter"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "certgetter"
- name: make the box be real
hosts: certgetter

View file

@ -1,7 +1,9 @@
# create a data-reports vm
#
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=data_reports"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "data_reports"
- name: make the box be real
hosts: data_reports

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=debuginfod:debuginfod_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "debuginfod:debuginfod_stg"
- name: make the box be real
hosts: debuginfod:debuginfod_stg

View file

@ -1,6 +1,8 @@
# create a new dns server
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=dns"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "dns"
- name: make the box be real
hosts: dns

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=download_ibiblio:download_cc_rdu:download_iad2"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "download_ibiblio:download_cc_rdu:download_iad2"
- name: Download servers
hosts: download

View file

@ -1,7 +1,9 @@
# create a new fedimg server
# NOTE: make sure there is room/space for this server on the vmhost
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fedimg:fedimg_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "fedimg:fedimg_stg"
- name: dole out the generic configuration
hosts: fedimg:fedimg_stg

View file

@ -3,7 +3,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=github2fedmsg:github2fedmsg_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "github2fedmsg:github2fedmsg_stg"
- name: make the box be real
hosts: github2fedmsg:github2fedmsg_stg

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ipsilon:ipsilon_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "ipsilon:ipsilon_stg"
- name: make the box be real

View file

@ -3,7 +3,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=kerneltest"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "kerneltest"
- name: make the box be real
hosts: kerneltest

View file

@ -2,7 +2,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=koji_stg:koji"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "koji_stg:koji"
# Once the instance exists, configure it.

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=kojipkgs"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "kojipkgs"
- name: make the boxen be real for real
hosts: kojipkgs

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=logging"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "logging"
- name: make the box be real
hosts: logging

View file

@ -2,7 +2,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mailman:mailman_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "mailman:mailman_stg"
- name: make the box be real
hosts: mailman_stg:mailman

View file

@ -2,7 +2,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db03.stg.iad2.fedoraproject.org:db03.iad2.fedoraproject.org"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "db03.stg.iad2.fedoraproject.org:db03.iad2.fedoraproject.org"
# Once the instance exists, configure it.

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mbs:mbs_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "mbs:mbs_stg"
- name: make the box be real
hosts: mbs:mbs_stg

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=memcached:memcached_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "memcached:memcached_stg"
- name: make the box be real
hosts: memcached:memcached_stg

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mm:mm_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "mm:mm_stg"
- name: make the boxe be real for real
hosts: mm:mm_stg

View file

@ -1,5 +1,7 @@
# This is a basic playbook
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nagios"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "nagios"
- name: make the box be real
hosts: nagios

View file

@ -3,7 +3,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nuancier:nuancier_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "nuancier:nuancier_stg"
- name: make the box be real
hosts: nuancier:nuancier_stg

View file

@ -1,5 +1,7 @@
# create an osbs server
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=oci_registry:oci_registry_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "oci_registry:oci_registry_stg"
- name: make the box be real
hosts: oci_registry:oci_registry_stg

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=odcs:odcs_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "odcs:odcs_stg"
- name: make the box be real
hosts: odcs:odcs_stg

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=openqa:openqa_lab"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "openqa:openqa_lab"
- name: setup base openQA host
hosts: openqa:openqa_lab

View file

@ -1,6 +1,8 @@
# create a new proxy server
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=os_proxies"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "os_proxies"
- name: make the box be real
hosts: os_proxies

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pagure:pagure_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "pagure:pagure_stg"
- name: make the boxen be real for real
hosts: pagure:pagure_stg

View file

@ -1,6 +1,8 @@
# PDC servers (both frontend and backend)
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pdc_web:pdc_web_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "pdc_web:pdc_web_stg"
- name: dole out the generic configuration
hosts: pdc_web:pdc_web_stg

View file

@ -1,7 +1,9 @@
# Create a people server
#
#
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=people"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "people"
- name: make the box be real
hosts: people

View file

@ -1,5 +1,7 @@
---
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgs_stg:pkgs"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "pkgs_stg:pkgs"
- name: make the box be real
hosts: pkgs_stg:pkgs

View file

@ -2,7 +2,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db-fas01.stg.iad2.fedoraproject.org:db01.stg.iad2.fedoraproject.org:db-koji01.stg.iad2.fedoraproject.org:db-fas01.iad2.fedoraproject.org:db01.iad2.fedoraproject.org:db-datanommer01.iad2.fedoraproject.org:db-koji01.iad2.fedoraproject.org:db-openqa01.iad2.fedoraproject.org:db-datanommer01.stg.iad2.fedoraproject.org:db-datanommer02.iad2.fedoraproject.org"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "db-fas01.stg.iad2.fedoraproject.org:db01.stg.iad2.fedoraproject.org:db-koji01.stg.iad2.fedoraproject.org:db-fas01.iad2.fedoraproject.org:db01.iad2.fedoraproject.org:db-datanommer01.iad2.fedoraproject.org:db-koji01.iad2.fedoraproject.org:db-openqa01.iad2.fedoraproject.org:db-datanommer01.stg.iad2.fedoraproject.org:db-datanommer02.iad2.fedoraproject.org"
# Once the instance exists, configure it.

View file

@ -1,6 +1,8 @@
# create a new proxy server
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=proxies:proxies_stg:!proxy05.fedoraproject.org:!cloud_aws"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "proxies:proxies_stg:!proxy05.fedoraproject.org:!cloud_aws"
- name: make the box be real
hosts: proxies_stg:proxies

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=rabbitmq:rabbitmq_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "rabbitmq:rabbitmq_stg"
- name: make the box be real
hosts: rabbitmq:rabbitmq_stg

View file

@ -3,7 +3,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=releng_compose:releng_compose_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "releng_compose:releng_compose_stg"
- name: Setup releng compose hosts
hosts: releng_compose:releng_compose_stg

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=secondary"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "secondary"
- name: setup secondary arch download server
hosts: secondary

View file

@ -6,7 +6,9 @@
# Access is via management interface only. This playbook does initial setup.
# Please check with rel-eng before doing anything here.
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=sign_bridge"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "sign_bridge"
- name: configure sign bridge server
hosts: sign_bridge

View file

@ -1,6 +1,8 @@
# create smtp servers
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=smtp_mm"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "smtp_mm"
- name: make the box be real
hosts: smtp_mm

View file

@ -3,7 +3,9 @@
# These servers run a number of smaller apps that don't merit their own instances.
#
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=sundries:sundries_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "sundries:sundries_stg"
- name: make the box be real
hosts: sundries:sundries_stg

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=tang"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "tang"
- name: make the box be real
hosts: tang

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=torrent"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "torrent"
- name: make the box be real
hosts: torrent

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=unbound"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "unbound"
- name: make the box be real
hosts: unbound

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=value:value_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "value:value_stg"
- name: make the box be real
hosts: value:value_stg

View file

@ -2,7 +2,9 @@
# 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
- import_playbook: "/srv/web/infra/ansible/playbooks/include/happy_birthday.yml myhosts=virthost:bvirthost:buildvmhost:virthost_comm:colo_virt:virthost_communishift:!buildvmhost-s390x-01.s390.fedoraproject.org"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/happy_birthday.yml"
vars:
myhosts: "virthost:bvirthost:buildvmhost:virthost_comm:colo_virt:virthost_communishift:!buildvmhost-s390x-01.s390.fedoraproject.org"
- name: make virthost server system
hosts: virthost:bvirthost:buildvmhost:virthost_comm:colo_virt:virthost_communishift

View file

@ -3,7 +3,9 @@
# These servers run mediawiki for the main fedora wiki instance.
#
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=wiki:wiki_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "wiki:wiki_stg"
- name: make the box be real
hosts: wiki:wiki_stg

View file

@ -1,4 +1,6 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=zabbix_stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "zabbix_stg"
- name: make the box be real
hosts: zabbix_stg