first stab at replacing include with include_playbook or includ_tasks

This commit is contained in:
Kevin Fenzi 2017-10-15 19:46:08 +00:00
parent 46c0c63d92
commit ceff9bfca4
210 changed files with 1125 additions and 1126 deletions

View file

@ -12,148 +12,148 @@
#
# group playbooks
- include: /srv/web/infra/ansible/playbooks/groups/anitya.yml
- include: /srv/web/infra/ansible/playbooks/groups/arm-qa.yml
- include: /srv/web/infra/ansible/playbooks/groups/ask.yml
- include: /srv/web/infra/ansible/playbooks/groups/autocloud-backend.yml
- include: /srv/web/infra/ansible/playbooks/groups/autocloud-web.yml
- include: /srv/web/infra/ansible/playbooks/groups/backup-server.yml
- include: /srv/web/infra/ansible/playbooks/groups/badges-backend.yml
- include: /srv/web/infra/ansible/playbooks/groups/badges-web.yml
- include: /srv/web/infra/ansible/playbooks/groups/basset.yml
- include: /srv/web/infra/ansible/playbooks/groups/bastion.yml
- include: /srv/web/infra/ansible/playbooks/groups/batcave.yml
- include: /srv/web/infra/ansible/playbooks/groups/beaker.yml
- include: /srv/web/infra/ansible/playbooks/groups/beaker-virthosts.yml
- include: /srv/web/infra/ansible/playbooks/groups/blockerbugs.yml
- include: /srv/web/infra/ansible/playbooks/groups/bodhi2.yml
#- include: /srv/web/infra/ansible/playbooks/groups/bodhi-backend.yml
- include: /srv/web/infra/ansible/playbooks/groups/bugzilla2fedmsg.yml
- include: /srv/web/infra/ansible/playbooks/groups/buildhw.yml
- include: /srv/web/infra/ansible/playbooks/groups/buildvm.yml
- include: /srv/web/infra/ansible/playbooks/groups/bugyou.yml
- include: /srv/web/infra/ansible/playbooks/groups/busgateway.yml
- include: /srv/web/infra/ansible/playbooks/groups/ci.yml
- include: /srv/web/infra/ansible/playbooks/groups/copr-backend.yml
- include: /srv/web/infra/ansible/playbooks/groups/copr-dist-git.yml
- include: /srv/web/infra/ansible/playbooks/groups/copr-frontend.yml
- include: /srv/web/infra/ansible/playbooks/groups/copr-keygen.yml
- include: /srv/web/infra/ansible/playbooks/groups/darkserver.yml
- include: /srv/web/infra/ansible/playbooks/groups/darkserver-backend.yml
- include: /srv/web/infra/ansible/playbooks/groups/darkserver-web.yml
- include: /srv/web/infra/ansible/playbooks/groups/datagrepper.yml
- include: /srv/web/infra/ansible/playbooks/groups/docker-registry.yml
- include: /srv/web/infra/ansible/playbooks/groups/dhcp.yml
- include: /srv/web/infra/ansible/playbooks/groups/dns.yml
- include: /srv/web/infra/ansible/playbooks/groups/download.yml
- include: /srv/web/infra/ansible/playbooks/groups/elections.yml
- include: /srv/web/infra/ansible/playbooks/groups/fas.yml
- include: /srv/web/infra/ansible/playbooks/groups/fas3.yml
- include: /srv/web/infra/ansible/playbooks/groups/fedimg.yml
- include: /srv/web/infra/ansible/playbooks/groups/fedocal.yml
- include: /srv/web/infra/ansible/playbooks/groups/github2fedmsg.yml
- include: /srv/web/infra/ansible/playbooks/groups/gnome-backups.yml
- include: /srv/web/infra/ansible/playbooks/groups/hosted.yml
- include: /srv/web/infra/ansible/playbooks/groups/hotness.yml
- include: /srv/web/infra/ansible/playbooks/groups/infinote.yml
- include: /srv/web/infra/ansible/playbooks/groups/ipa.yml
- include: /srv/web/infra/ansible/playbooks/groups/ipsilon.yml
- include: /srv/web/infra/ansible/playbooks/groups/jenkins-master.yml
- include: /srv/web/infra/ansible/playbooks/groups/jenkins-slave.yml
- include: /srv/web/infra/ansible/playbooks/groups/kerneltest.yml
- include: /srv/web/infra/ansible/playbooks/groups/keyserver.yml
- include: /srv/web/infra/ansible/playbooks/groups/koji-hub.yml
- include: /srv/web/infra/ansible/playbooks/groups/kojipkgs.yml
- include: /srv/web/infra/ansible/playbooks/groups/koschei-backend.yml
- include: /srv/web/infra/ansible/playbooks/groups/koschei-web.yml
- include: /srv/web/infra/ansible/playbooks/groups/logserver.yml
- include: /srv/web/infra/ansible/playbooks/groups/loopabull.yml
- include: /srv/web/infra/ansible/playbooks/groups/mbs.yml
- include: /srv/web/infra/ansible/playbooks/groups/mailman.yml
- include: /srv/web/infra/ansible/playbooks/groups/maintainer-test.yml
- include: /srv/web/infra/ansible/playbooks/groups/mariadb-server.yml
- include: /srv/web/infra/ansible/playbooks/groups/mdapi.yml
- include: /srv/web/infra/ansible/playbooks/groups/mirrorlist2.yml
- include: /srv/web/infra/ansible/playbooks/groups/mirrormanager.yml
- include: /srv/web/infra/ansible/playbooks/groups/memcached.yml
- include: /srv/web/infra/ansible/playbooks/groups/modernpaste.yml
- include: /srv/web/infra/ansible/playbooks/groups/noc.yml
- include: /srv/web/infra/ansible/playbooks/groups/notifs-backend.yml
- include: /srv/web/infra/ansible/playbooks/groups/notifs-web.yml
- include: /srv/web/infra/ansible/playbooks/groups/nuancier.yml
- include: /srv/web/infra/ansible/playbooks/groups/openqa.yml
- include: /srv/web/infra/ansible/playbooks/groups/openqa-workers.yml
- include: /srv/web/infra/ansible/playbooks/groups/openstack-compute-nodes.yml
- include: /srv/web/infra/ansible/playbooks/groups/osbs-cluster.yml
- include: /srv/web/infra/ansible/playbooks/groups/os-cluster.yml
- include: /srv/web/infra/ansible/playbooks/groups/packages.yml
- include: /srv/web/infra/ansible/playbooks/groups/pagure.yml
- include: /srv/web/infra/ansible/playbooks/groups/paste.yml
- include: /srv/web/infra/ansible/playbooks/groups/pdc.yml
- include: /srv/web/infra/ansible/playbooks/groups/people.yml
- include: /srv/web/infra/ansible/playbooks/groups/pkgdb.yml
- include: /srv/web/infra/ansible/playbooks/groups/pkgs.yml
- include: /srv/web/infra/ansible/playbooks/groups/postgresql-server.yml
- include: /srv/web/infra/ansible/playbooks/groups/postgresql-server-bdr.yml
- include: /srv/web/infra/ansible/playbooks/groups/proxies.yml
#- include: /srv/web/infra/ansible/playbooks/groups/qa.yml
- include: /srv/web/infra/ansible/playbooks/groups/resultsdb-prod.yml
- include: /srv/web/infra/ansible/playbooks/groups/resultsdb-dev.yml
- include: /srv/web/infra/ansible/playbooks/groups/resultsdb-stg.yml
- include: /srv/web/infra/ansible/playbooks/groups/retrace.yml
- include: /srv/web/infra/ansible/playbooks/groups/releng-compose.yml
- include: /srv/web/infra/ansible/playbooks/groups/secondary.yml
- include: /srv/web/infra/ansible/playbooks/groups/smtp-mm.yml
- include: /srv/web/infra/ansible/playbooks/groups/sign-bridge.yml
- include: /srv/web/infra/ansible/playbooks/groups/statscache.yml
- include: /srv/web/infra/ansible/playbooks/groups/summershum.yml
- include: /srv/web/infra/ansible/playbooks/groups/sundries.yml
- include: /srv/web/infra/ansible/playbooks/groups/tagger.yml
- include: /srv/web/infra/ansible/playbooks/groups/taskotron.yml
- include: /srv/web/infra/ansible/playbooks/groups/taskotron-client-hosts.yml
- include: /srv/web/infra/ansible/playbooks/groups/torrent.yml
- include: /srv/web/infra/ansible/playbooks/groups/twisted-buildbots.yml
- include: /srv/web/infra/ansible/playbooks/groups/unbound.yml
- include: /srv/web/infra/ansible/playbooks/groups/value.yml
- include: /srv/web/infra/ansible/playbooks/groups/virthost.yml
- include: /srv/web/infra/ansible/playbooks/groups/wiki.yml
- include: /srv/web/infra/ansible/playbooks/groups/zanata2fedmsg.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/anitya.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/arm-qa.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/ask.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/autocloud-backend.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/autocloud-web.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/backup-server.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/badges-backend.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/badges-web.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/basset.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/bastion.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/batcave.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/beaker.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/beaker-virthosts.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/blockerbugs.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/bodhi2.yml
#- import_playbook: /srv/web/infra/ansible/playbooks/groups/bodhi-backend.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/bugzilla2fedmsg.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/buildhw.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/buildvm.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/bugyou.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/busgateway.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/ci.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-backend.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-dist-git.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-frontend.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-keygen.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/darkserver.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/darkserver-backend.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/darkserver-web.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/datagrepper.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/docker-registry.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/dhcp.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/dns.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/download.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/elections.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/fas.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/fas3.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/fedimg.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/fedocal.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/github2fedmsg.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/gnome-backups.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/hosted.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/hotness.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/infinote.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/ipa.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/ipsilon.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/jenkins-master.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/jenkins-slave.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/kerneltest.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/keyserver.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/koji-hub.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/kojipkgs.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/koschei-backend.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/koschei-web.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/logserver.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/loopabull.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/mbs.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/mailman.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/maintainer-test.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/mariadb-server.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/mdapi.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/mirrorlist2.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/mirrormanager.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/memcached.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/modernpaste.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/noc.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/notifs-backend.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/notifs-web.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/nuancier.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/openqa.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/openqa-workers.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/openstack-compute-nodes.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/osbs-cluster.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/os-cluster.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/packages.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/pagure.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/paste.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/pdc.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/people.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/pkgdb.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/pkgs.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/postgresql-server.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/postgresql-server-bdr.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/proxies.yml
#- import_playbook: /srv/web/infra/ansible/playbooks/groups/qa.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/resultsdb-prod.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/resultsdb-dev.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/resultsdb-stg.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/retrace.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/releng-compose.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/secondary.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/smtp-mm.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/sign-bridge.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/statscache.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/summershum.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/sundries.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/tagger.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/taskotron.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/taskotron-client-hosts.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/torrent.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/twisted-buildbots.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/unbound.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/value.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/virthost.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/wiki.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/zanata2fedmsg.yml
#
# host playbooks
#
- include: /srv/web/infra/ansible/playbooks/hosts/artboard.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/communityblog.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/commops.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/darkserver-dev.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/data-analysis01.phx2.fedoraproject.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/developer.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/eclipse.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/fas2-dev.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/fas3-dev.fedorainfracloud.org.yml
#- include: /srv/web/infra/ansible/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/faitout.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/fedora-bootstrap.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/fedimg-dev.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/glittergallery-dev.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/grafana.cloud.fedoraproject.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/graphite.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/hubs-dev.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/iddev.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/insim.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/lists-dev.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/magazine2.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/ansiblemagazine.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/modernpaste.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/modularity.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/piwik.fedorainfracloud.org.yml
#- include: /srv/web/infra/ansible/playbooks/hosts/regcfp2.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/respins.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/shogun-ca.cloud.fedoraproject.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/shumgrepper-dev.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/taiga.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/taigastg.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/testdays.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/upstreamfirst.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/artboard.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/communityblog.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/commops.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/darkserver-dev.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/data-analysis01.phx2.fedoraproject.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/developer.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/eclipse.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/fas2-dev.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/fas3-dev.fedorainfracloud.org.yml
#- import_playbook: /srv/web/infra/ansible/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/faitout.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/fedora-bootstrap.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/fedimg-dev.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/glittergallery-dev.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/grafana.cloud.fedoraproject.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/graphite.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/hubs-dev.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/iddev.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/insim.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/lists-dev.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/magazine2.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/ansiblemagazine.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/modernpaste.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/modularity.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/piwik.fedorainfracloud.org.yml
#- import_playbook: /srv/web/infra/ansible/playbooks/hosts/regcfp2.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/respins.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/shogun-ca.cloud.fedoraproject.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/shumgrepper-dev.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/taiga.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/taigastg.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/testdays.fedorainfracloud.org.yml
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/upstreamfirst.fedorainfracloud.org.yml

View file

@ -265,5 +265,5 @@
# handlers:
# - include: "{{ handlers_path }}/restart_services.yml"
# - include: "restart_services.yml"
# - include_tasks: "{{ handlers_path }}/restart_services.yml"
# - include_tasks: "restart_services.yml"

View file

@ -7,8 +7,8 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks_path }}/cloud_setup_basic.yml"
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -4,25 +4,25 @@
#
# Call it with -t fedmsgdupdate to only run that one play.
#
- include: /srv/web/infra/ansible/playbooks/hosts/copr-be.cloud.fedoraproject.org.yml
- include: /srv/web/infra/ansible/playbooks/groups/ask.yml
- include: /srv/web/infra/ansible/playbooks/groups/bodhi.yml
- include: /srv/web/infra/ansible/playbooks/groups/badges-backend.yml
- include: /srv/web/infra/ansible/playbooks/groups/badges-web.yml
- include: /srv/web/infra/ansible/playbooks/groups/busgateway.yml
- include: /srv/web/infra/ansible/playbooks/groups/elections.yml
- include: /srv/web/infra/ansible/playbooks/groups/fedocal.yml
- include: /srv/web/infra/ansible/playbooks/groups/gallery.yml
- include: /srv/web/infra/ansible/playbooks/groups/keyserver.yml
- include: /srv/web/infra/ansible/playbooks/groups/koji-hub.yml
- include: /srv/web/infra/ansible/playbooks/groups/mailman.yml
- include: /srv/web/infra/ansible/playbooks/groups/notifs-backend.yml
- include: /srv/web/infra/ansible/playbooks/groups/notifs-web.yml
- include: /srv/web/infra/ansible/playbooks/groups/nuancier.yml
- include: /srv/web/infra/ansible/playbooks/groups/packages.yml
- include: /srv/web/infra/ansible/playbooks/groups/pkgdb.yml
- include: /srv/web/infra/ansible/playbooks/groups/releng.yml
- include: /srv/web/infra/ansible/playbooks/groups/summershum.yml
- include: /srv/web/infra/ansible/playbooks/groups/tagger.yml
- include: /srv/web/infra/ansible/playbooks/groups/wiki.yml
- include: /srv/web/infra/ansible/playbooks/groups/value.yml
- include_playbook: /srv/web/infra/ansible/playbooks/hosts/copr-be.cloud.fedoraproject.org.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/ask.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/bodhi.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/badges-backend.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/badges-web.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/busgateway.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/elections.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/fedocal.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/gallery.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/keyserver.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/koji-hub.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/mailman.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/notifs-backend.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/notifs-web.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/nuancier.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/packages.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/pkgdb.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/releng.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/summershum.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/tagger.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/wiki.yml
- include_playbook: /srv/web/infra/ansible/playbooks/groups/value.yml

View file

@ -30,4 +30,4 @@
delegate_to: "{{target}}"
command: ntpdate -u bastion01.phx2.fedoraproject.org
- include: groups/buildhw.yml hosts="{{target}}"
- include_playbook: groups/buildhw.yml hosts="{{target}}"

View file

@ -1,5 +1,5 @@
# create a new sks keyserver
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=anitya"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=anitya"
- name: make the boxen be real for real
hosts: anitya
@ -22,12 +22,12 @@
- openvpn/client
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up the frontend bits
hosts: anitya-frontend
@ -56,7 +56,7 @@
- anitya
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up the backend bits
hosts: anitya-backend
@ -76,4 +76,4 @@
- anitya
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -12,7 +12,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -23,7 +23,7 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ask-stg:ask"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ask-stg:ask"
- name: make the box be real
hosts: ask-stg:ask
@ -26,12 +26,12 @@
when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster on stg
hosts: ask-stg

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=autocloud-backend-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=autocloud-backend-stg"
- name: dole out the generic configuration
hosts: autocloud-backend:autocloud-backend-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -24,11 +24,11 @@
- sudo
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config
hosts: autocloud-backend:autocloud-backend-stg
@ -39,7 +39,7 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
roles:
- redis

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=autocloud-web:autocloud-web-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=autocloud-web:autocloud-web-stg"
- name: make the box be real
hosts: autocloud-web:autocloud-web-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -27,11 +27,11 @@
when: env != "staging"
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the app-specific configuration
hosts: autocloud-web:autocloud-web-stg
@ -43,7 +43,7 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
roles:
- autocloud/frontend

View file

@ -28,10 +28,10 @@
- openvpn/client
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include: "{{ tasks_path }}/rdiff_backup_server.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/rdiff_backup_server.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges-backend:badges-backend-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges-backend:badges-backend-stg"
- name: dole out the generic configuration
hosts: badges-backend:badges-backend-stg
@ -28,12 +28,12 @@
when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config
hosts: badges-backend:badges-backend-stg
@ -52,4 +52,4 @@
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges-web:badges-web-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges-web:badges-web-stg"
- name: make the box be real
hosts: badges-web:badges-web-stg
@ -39,9 +39,9 @@
interval: 10
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,6 +1,6 @@
# create a new basset server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=basset:basset-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=basset:basset-stg"
- name: make the box be real
hosts: basset:basset-stg
@ -30,9 +30,9 @@
- basset/worker
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bastion"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bastion"
- name: make the boxen be real for real
hosts: bastion
@ -23,12 +23,12 @@
- opendkim
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure bastion-qa
hosts: bastion-comm01.qa.fedoraproject.org

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=batcave"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=batcave"
- name: make the box be real
hosts: batcave
@ -34,9 +34,9 @@
- { role: nfs/client, mnt_dir: '/mnt/fedora/app', nfs_src_dir: 'fedora_app/app' }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -27,9 +27,9 @@
- { role: beaker/virthost, tags: ['beakervirthost'] }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -2,7 +2,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=beaker:beaker-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=beaker:beaker-stg"
- name: make the box be real
hosts: beaker:beaker-stg
@ -28,12 +28,12 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure beaker and required services
hosts: beaker:beaker-stg
@ -52,5 +52,5 @@
- { role: beaker/labcontroller, tags: ['beakerlabcontroller'] }
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=blockerbugs:blockerbugs-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=blockerbugs:blockerbugs-stg"
- name: make the box be real
hosts: blockerbugs:blockerbugs-stg
@ -26,9 +26,9 @@
- blockerbugs
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -5,7 +5,7 @@
# They also run some misc releng scripts.
#
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bodhi-backend:bodhi-backend-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bodhi-backend:bodhi-backend-stg"
# Once the instance exists, configure it.
@ -77,9 +77,9 @@
file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
tags: bodhi
when: env == 'staging'
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bodhi2:bodhi2-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bodhi2:bodhi2-stg"
- name: make the box be real
hosts: bodhi2:bodhi2-stg
@ -41,9 +41,9 @@
when: env == "staging"
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bugyou:bugyou-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bugyou:bugyou-stg"
- name: dole out the generic configuration
hosts: bugyou:bugyou-stg
@ -25,12 +25,12 @@
- sudo
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg basics
hosts: bugyou:bugyou-stg
@ -46,7 +46,7 @@
- fedmsg/base
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config
hosts: bugyou:bugyou-stg
@ -66,4 +66,4 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bugzilla2fedmsg:bugzilla2fedmsg-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bugzilla2fedmsg:bugzilla2fedmsg-stg"
- name: dole out the generic configuration
hosts: bugzilla2fedmsg:bugzilla2fedmsg-stg
@ -26,12 +26,12 @@
- fedmsg/base
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config
hosts: bugzilla2fedmsg:bugzilla2fedmsg-stg
@ -49,4 +49,4 @@
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -13,8 +13,8 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/osbs_certs.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/osbs_certs.yml"
roles:
- base
@ -29,13 +29,13 @@
service: compile
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
when: not inventory_hostname.startswith('bkernel')
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
when: not inventory_hostname.startswith('bkernel')
- name: make sure kojid is running
service: name=kojid state=started enabled=yes
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=buildvm:buildvm-stg:buildvm-aarch64:buildvm-armv7:buildvm-ppc64:buildvm-ppc64le:buildppcle:buildppc:buildvm-s390:buildvm-ppc64-stg:buildvm-ppc64le-stg:buildvm-aarch64-stg:buildvm-armv7-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=buildvm:buildvm-stg:buildvm-aarch64:buildvm-armv7:buildvm-ppc64:buildvm-ppc64le:buildppcle:buildppc:buildvm-s390:buildvm-ppc64-stg:buildvm-ppc64le-stg:buildvm-aarch64-stg:buildvm-armv7-stg"
- name: make koji builder(s)
hosts: buildvm:buildvm-stg:buildvm-aarch64:buildvm-armv7:buildvm-ppc64:buildvm-ppc64le:buildppcle:buildppc:buildvm-s390:buildvm-ppc64-stg:buildvm-ppc64le-stg:buildvm-aarch64-stg:buildvm-armv7-stg:buildvm-s390x
@ -16,7 +16,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -42,16 +42,16 @@
when: env == "staging"
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
when: not inventory_hostname.startswith('bkernel')
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
when: not inventory_hostname.startswith('bkernel')
- name: make sure kojid is running
service: name=kojid state=started enabled=yes
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure osbs on koji builders
hosts: buildvm:buildvm-stg
@ -66,8 +66,8 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/osbs_certs.yml"
- include: "{{ tasks_path }}/osbs_repos.yml"
- include_tasks: "{{ tasks_path }}/osbs_certs.yml"
- include_tasks: "{{ tasks_path }}/osbs_repos.yml"
roles:
- {
@ -137,7 +137,7 @@
}
}
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure varnish cache on buildvm-s390x-07.s390.fedoraproject.org
@ -156,7 +156,7 @@
- varnish
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure sshfs on buildvm-s390x-01.s390.fedoraproject.org
hosts: buildvm-s390x-01.s390.fedoraproject.org
@ -194,7 +194,7 @@
- sshfs
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure sshfs target on koji01
hosts: koji01.phx2.fedoraproject.org
@ -218,4 +218,4 @@
- sshfs
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=busgateway:busgateway-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=busgateway:busgateway-stg"
- name: dole out the generic configuration
hosts: busgateway:busgateway-stg
@ -23,12 +23,12 @@
when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config
hosts: busgateway:busgateway-stg
@ -55,4 +55,4 @@
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=certgetter"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=certgetter"
- name: make the box be real
hosts: certgetter
@ -22,9 +22,9 @@
when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ci-cc-rdu01.fedoraproject.org"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ci-cc-rdu01.fedoraproject.org"
- name: make the box be real
hosts: ci
@ -32,12 +32,12 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure resultsdb production
hosts: ci
@ -57,4 +57,4 @@
- { role: ccsdb, tags: ['ccsdb'] }
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -10,7 +10,7 @@
- /srv/web/infra/ansible/vars/fedora-cloud.yml
- /srv/private/ansible/files/openstack/passwords.yml
tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml"
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: cloud basic setup
hosts: copr-back:copr-back-stg
@ -21,8 +21,8 @@
- /srv/private/ansible/vars.yml
tasks:
- include: "{{ tasks_path }}/cloud_setup_basic.yml"
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- name: set hostname (required by some services, at least postfix need it)
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"

View file

@ -10,7 +10,7 @@
- /srv/private/ansible/files/openstack/passwords.yml
tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml"
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: cloud basic setup
hosts: copr-dist-git-stg:copr-dist-git
@ -21,8 +21,8 @@
- "/srv/private/ansible/vars.yml"
tasks:
- include: "{{ tasks_path }}/cloud_setup_basic.yml"
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- name: set hostname (required by some services, at least postfix need it)
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
@ -41,4 +41,4 @@
- copr/dist_git
handlers:
- include: "../../handlers/restart_services.yml"
- include_tasks: "../../handlers/restart_services.yml"

View file

@ -10,7 +10,7 @@
- /srv/private/ansible/files/openstack/passwords.yml
tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml"
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: cloud basic setup
hosts: copr-front-stg:copr-front
@ -21,8 +21,8 @@
- "/srv/private/ansible/vars.yml"
tasks:
- include: "{{ tasks_path }}/cloud_setup_basic.yml"
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- name: set hostname (required by some services, at least postfix need it)
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"

View file

@ -10,7 +10,7 @@
- /srv/private/ansible/files/openstack/passwords.yml
tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml"
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: gather facts
setup:
check_mode: no
@ -29,8 +29,8 @@
- "/srv/private/ansible/vars.yml"
tasks:
- include: "{{ tasks_path }}/cloud_setup_basic.yml"
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- name: set hostname (required by some services, at least postfix need it)
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=darkserver-backend:darkserver-backend-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=darkserver-backend:darkserver-backend-stg"
- name: make the box be real
hosts: darkserver-backend:darkserver-backend-stg
@ -31,12 +31,12 @@
- role: apache
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg basics
hosts: darkserver-backend:darkserver-backend-stg
@ -52,7 +52,7 @@
- fedmsg/base
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config
hosts: darkserver-backend:darkserver-backend-stg
@ -73,4 +73,4 @@
process: fedmsg-hub
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=darkserver-web:darkserver-web-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=darkserver-web:darkserver-web-stg"
- name: make the box be real
hosts: darkserver-web:darkserver-web-stg
@ -31,10 +31,10 @@
- darkserver/web
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=darkserver:darkserver-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=darkserver:darkserver-stg"
- name: make the box be real
hosts: darkserver:darkserver-stg
@ -32,9 +32,9 @@
- darkserver
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,6 +1,6 @@
# create a new datagrepper server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=datagrepper:datagrepper-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=datagrepper:datagrepper-stg"
- name: make the box be real
hosts: datagrepper:datagrepper-stg
@ -27,12 +27,12 @@
- mod_wsgi
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config
hosts: datagrepper:datagrepper-stg
@ -52,7 +52,7 @@
interval: 15
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
# The gluster work here can be omitted for now. It is used by a feature of
# datagrepper that is partially in place, but not yet functional.
@ -77,7 +77,7 @@
# datadir: /srv/glusterfs/datagrepper
#
# handlers:
# - include: "{{ handlers_path }}/restart_services.yml"
# - include_tasks: "{{ handlers_path }}/restart_services.yml"
#
#- name: set up gluster client on prod
# hosts: datagrepper:datagrepper-stg
@ -102,4 +102,4 @@
# mountdir: /var/cache/datagrepper
#
# handlers:
# - include: "{{ handlers_path }}/restart_services.yml"
# - include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=dhcp"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=dhcp"
- name: make the box be real
hosts: dhcp
@ -22,9 +22,9 @@
- tftp_server
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,6 +1,6 @@
# create a new dns server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=dns"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=dns"
- name: make the box be real
hosts: dns
@ -26,9 +26,9 @@
- dns
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,5 +1,5 @@
# create an osbs server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=docker-registry:docker-registry-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=docker-registry:docker-registry-stg"
- name: make the box be real
hosts: docker-registry:docker-registry-stg
@ -24,12 +24,12 @@
when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster on stg
hosts:

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=download-ibiblio"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=download-ibiblio"
- name: Download servers
hosts: download
@ -13,7 +13,7 @@
tasks:
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: post-initial-steps
@ -44,9 +44,9 @@
- { role: openvpn/client, when: datacenter != "phx2" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
- name: put in script for syncing on download-ib01
copy: src="{{ files }}/download/sync-up-downloads.sh.ib01" dest=/usr/local/bin/sync-up-downloads owner=root group=root mode=755
@ -68,5 +68,5 @@
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=elections:elections-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=elections:elections-stg"
- name: make the box be real
hosts: elections:elections-stg
@ -24,12 +24,12 @@
- collectd/base
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg on elections
hosts: elections:elections-stg
@ -45,7 +45,7 @@
- fedmsg/base
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy elections itself
hosts: elections:elections-stg
@ -61,5 +61,5 @@
- elections
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,6 +1,6 @@
# create a new fas server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fas:fas-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fas:fas-stg"
- name: make the box be real
hosts: fas-stg:fas
@ -30,9 +30,9 @@
- { role: openvpn/client, when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,6 +1,6 @@
# create a new fas server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fas3-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fas3-stg"
- name: make the box be real
hosts: fas3-stg
@ -30,9 +30,9 @@
#- { role: openvpn/client, when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,7 +1,7 @@
# create a new fedimg server
# NOTE: make sure there is room/space for this server on the vmhost
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fedimg:fedimg-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fedimg:fedimg-stg"
- name: dole out the generic configuration
hosts: fedimg:fedimg-stg
@ -28,12 +28,12 @@
# when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config
hosts: fedimg:fedimg-stg
@ -61,4 +61,4 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fedocal-stg:fedocal"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fedocal-stg:fedocal"
- name: make the box be real
hosts: fedocal-stg:fedocal
@ -24,12 +24,12 @@
- collectd/base
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg
hosts: fedocal-stg:fedocal
@ -45,7 +45,7 @@
- fedmsg/base
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy fedocal itself
hosts: fedocal-stg:fedocal
@ -61,4 +61,4 @@
- fedocal
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=freshmaker:freshmaker-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=freshmaker:freshmaker-stg"
- name: make the box be real
hosts: freshmaker:freshmaker-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -24,11 +24,11 @@
- collectd/base
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: openvpn on the prod frontend nodes
hosts: freshmaker-frontend
@ -44,7 +44,7 @@
- openvpn/client
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Set up apache on the frontend MBS API app
hosts: freshmaker-frontend:freshmaker-frontend-stg
@ -60,7 +60,7 @@
- mod_wsgi
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg configuration and common freshmaker files
hosts: freshmaker:freshmaker-stg
@ -76,4 +76,4 @@
- fedmsg/base
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=github2fedmsg:github2fedmsg-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=github2fedmsg:github2fedmsg-stg"
- name: make the box be real
hosts: github2fedmsg:github2fedmsg-stg
@ -29,12 +29,12 @@
- mod_wsgi
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy service-specific config
hosts: github2fedmsg:github2fedmsg-stg
@ -47,7 +47,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
roles:
- github2fedmsg

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=gnome-backups"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=gnome-backups"
- name: make the boxen be real for real
hosts: gnome-backups
@ -25,9 +25,9 @@
nfs_src_dir: 'gnome_backups' }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=newhosted"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=newhosted"
- name: make the boxen be real for real
hosts: newhosted
@ -21,9 +21,9 @@
- openvpn/client
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=hotness:hotness-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=hotness:hotness-stg"
- name: dole out the generic configuration
hosts: hotness:hotness-stg
@ -32,12 +32,12 @@
# when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg basics
hosts: hotness:hotness-stg
@ -53,7 +53,7 @@
- fedmsg/base
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config
hosts: hotness:hotness-stg
@ -72,4 +72,4 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,5 +1,5 @@
# create a new infinote server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=infinote"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=infinote"
- name: make the boxen be real for real
hosts: infinote
@ -29,9 +29,9 @@
- infinote
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ipa:ipa-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ipa:ipa-stg"
- name: make the box be real
hosts: ipa:ipa-stg
@ -23,12 +23,12 @@
- mod_wsgi
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy ipa itself
hosts: ipa:ipa-stg
@ -51,7 +51,7 @@
- combine IPA http keytabs
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: Combine IPA keytabs
@ -100,4 +100,4 @@
- base
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ipsilon:ipsilon-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ipsilon:ipsilon-stg"
- name: make the box be real
hosts: ipsilon:ipsilon-stg
@ -40,12 +40,12 @@
when: env == "production"
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy ipsilon itself
hosts: ipsilon:ipsilon-stg
@ -61,4 +61,4 @@
- ipsilon
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -9,7 +9,7 @@
- /srv/private/ansible/files/openstack/passwords.yml
tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml"
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: setup all the things
hosts: jenkins-master
@ -21,10 +21,10 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/cloud_setup_basic.yml"
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
- name: set hostname (required by some services, at least postfix need it)
hostname: name="{{inventory_hostname}}"
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- name: provision instance
hosts: jenkins-master
@ -41,8 +41,8 @@
- certbot
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -9,7 +9,7 @@
- /srv/private/ansible/files/openstack/passwords.yml
tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml"
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: setup all the things
hosts: jenkins-slave
@ -21,10 +21,10 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/cloud_setup_basic.yml"
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
- name: set hostname (required by some services, at least postfix need it)
hostname: name="{{inventory_hostname}}"
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- name: provision instance
hosts: jenkins-slave
@ -39,9 +39,9 @@
- jenkins/slave
tasks:
# - include: "{{ tasks_path }}/growroot_cloud.yml"
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/motd.yml"
# - include_tasks: "{{ tasks_path }}/growroot_cloud.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=kerneltest:kerneltest-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=kerneltest:kerneltest-stg"
- name: make the box be real
hosts: kerneltest-stg:kerneltest
@ -29,12 +29,12 @@
- mod_wsgi
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy service-specific config
hosts: kerneltest-stg:kerneltest
@ -47,7 +47,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
roles:
- kerneltest

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=keys"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=keys"
- name: make the box be real
hosts: keys
@ -30,9 +30,9 @@
- keyserver
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -2,7 +2,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=koji-stg:koji"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=koji-stg:koji"
# Once the instance exists, configure it.
@ -17,8 +17,8 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/osbs_certs.yml"
- include: "{{ tasks_path }}/osbs_repos.yml"
- include_tasks: "{{ tasks_path }}/osbs_certs.yml"
- include_tasks: "{{ tasks_path }}/osbs_repos.yml"
roles:
- base
@ -82,12 +82,12 @@
file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
tags: koji_hub
when: env == 'staging'
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
#- name: Start the kojid builder daemon, but only on staging.

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=kojipkgs"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=kojipkgs"
- name: make the boxen be real for real
hosts: kojipkgs
@ -32,9 +32,9 @@
- role: varnish
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=koschei-backend:koschei-backend-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=koschei-backend:koschei-backend-stg"
- name: install koschei
hosts: koschei-backend:koschei-backend-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -31,8 +31,8 @@
- fedmsg/base
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,5 +1,5 @@
---
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=koschei-web:koschei-web-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=koschei-web:koschei-web-stg"
- name: install koschei-frontend
hosts: koschei-web:koschei-web-stg
@ -24,9 +24,9 @@
- koschei/frontend
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=log01.phx2.fedoraproject.org"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=log01.phx2.fedoraproject.org"
- name: make the box be real
hosts: log01.phx2.fedoraproject.org
@ -31,9 +31,9 @@
when: env == "production"
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
#
# We exclude some dirs from restorecon on updates on logservers as they are very large
@ -43,7 +43,7 @@
copy: src="{{ files }}/logserver/fixfiles_exclude_dirs" dest=/etc/selinux/fixfiles_exclude_dirs owner=root mode=0644
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Cloud Image stats
hosts: log01.phx2.fedoraproject.org
@ -63,4 +63,4 @@
nfs_src_dir: 'fedora_stats'
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,5 +1,5 @@
# create a new loopabull server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=loopabull-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=loopabull-stg"
- name: make the box be real
hosts: loopabull-stg
@ -12,7 +12,7 @@
- "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml"
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -24,11 +24,11 @@
- sudo
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Deploy and configure loopabull
hosts: loopabull-stg
@ -41,7 +41,7 @@
- "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: git clone the releng-automation playbook repo
@ -90,7 +90,7 @@
- "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: Enable fedmsg-rabbitmq-serializer

View file

@ -2,7 +2,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mailman:mailman-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mailman:mailman-stg"
- name: make the box be real
hosts: mailman-stg:mailman
@ -29,12 +29,12 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
#
@ -119,4 +119,4 @@
when: inventory_hostname.startswith('mailman01.phx2') or inventory_hostname.startswith('lists-dev')
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -9,7 +9,7 @@
- /srv/private/ansible/files/openstack/passwords.yml
tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml"
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: Do some basic cloud setup on them
hosts: maintainer-test
@ -21,7 +21,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/cloud_setup_basic.yml"
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
- name: set hostname (required by some services, at least postfix need it)
hostname: name="{{inventory_hostname}}"
@ -37,7 +37,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -48,7 +48,7 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
- name: install packager tools (dnf)
dnf: state=present pkg={{ item }}
@ -68,4 +68,4 @@
- config
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -2,7 +2,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db03.phx2.fedoraproject.org:db03.stg.phx2.fedoraproject.org"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db03.phx2.fedoraproject.org:db03.stg.phx2.fedoraproject.org"
# Once the instance exists, configure it.
@ -27,11 +27,11 @@
- sudo
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
# TODO: add iscsi task
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mbs:mbs-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mbs:mbs-stg"
- name: make the box be real
hosts: mbs:mbs-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -24,11 +24,11 @@
- collectd/base
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: openvpn on the prod frontend nodes
hosts: mbs-frontend
@ -44,7 +44,7 @@
- openvpn/client
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Set up apache on the frontend MBS API app
hosts: mbs-frontend:mbs-frontend-stg
@ -60,7 +60,7 @@
- mod_wsgi
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg configuration and common mbs files
hosts: mbs:mbs-stg
@ -77,7 +77,7 @@
- mbs/common
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy the frontend MBS API app
hosts: mbs-frontend:mbs-frontend-stg
@ -93,7 +93,7 @@
- mbs/frontend
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy the backend MBS scheduler daemon
hosts: mbs-backend:mbs-backend-stg
@ -119,4 +119,4 @@
#- mbs/backend
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mdapi:mdapi-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mdapi:mdapi-stg"
- name: make the box be real
hosts: mdapi-stg:mdapi
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -27,11 +27,11 @@
- { role: mod_wsgi, when: env == "staging" }
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy mdapi itself
hosts: mdapi-stg:mdapi
@ -48,7 +48,7 @@
- { role: plus-plus-service, when: env == "staging" }
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg
hosts: mdapi-stg:mdapi
@ -64,4 +64,4 @@
- fedmsg/base
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=memcached:memcached-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=memcached:memcached-stg"
- name: make the box be real
hosts: memcached:memcached-stg
@ -22,9 +22,9 @@
- memcached
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mirrorlist2:mirrorlist2-stg:!mirrorlist-host1plus.fedoraproject.org"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mirrorlist2:mirrorlist2-stg:!mirrorlist-host1plus.fedoraproject.org"
- name: make the box be real
hosts: mirrorlist2:mirrorlist2-stg
@ -64,10 +64,10 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mm:mm-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mm:mm-stg"
- name: make the boxe be real for real
hosts: mm:mm-stg
@ -22,12 +22,12 @@
- { role: nfs/client, when: inventory_hostname.startswith('mm-backend01'), mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Deploy the backend
hosts: mm-backend:mm-backend-stg
@ -45,7 +45,7 @@
- geoip
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Deploy the crawler
hosts: mm-crawler:mm-crawler-stg
@ -64,7 +64,7 @@
- { role: openvpn/client, when: datacenter != "phx2" }
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Deploy the frontend (web-app)
hosts: mm-frontend:mm-frontend-stg
@ -80,7 +80,7 @@
- mirrormanager/frontend2
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
# Do this one last, since the mirrormanager user needs to exist so that it can
# own the fedmsg certs we put in place here.
@ -98,4 +98,4 @@
- fedmsg/base
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=modernpaste-stg:modernpaste"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=modernpaste-stg:modernpaste"
- name: dole out the generic configuration
hosts: modernpaste-stg:modernpaste
@ -27,12 +27,12 @@
- { role: openvpn/client, when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config
hosts: modernpaste-stg:modernpaste
@ -48,4 +48,4 @@
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,5 +1,5 @@
# This is a basic playbook
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nagios"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nagios"
- name: make the box be real
hosts: nagios
@ -12,7 +12,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -41,11 +41,11 @@
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy service-specific config (just for production)
hosts: nagios
@ -58,7 +58,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
roles:
- { role: dhcp_server, when: datacenter == 'phx2' }

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=notifs-backend:notifs-backend-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=notifs-backend:notifs-backend-stg"
- name: dole out the generic configuration
hosts: notifs-backend:notifs-backend-stg
@ -30,12 +30,12 @@
# when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config
hosts: notifs-backend:notifs-backend-stg
@ -66,4 +66,4 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=notifs-web:notifs-web-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=notifs-web:notifs-web-stg"
- name: make the box be real
hosts: notifs-web:notifs-web-stg
@ -30,9 +30,9 @@
when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nuancier:nuancier-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nuancier:nuancier-stg"
- name: make the box be real
hosts: nuancier:nuancier-stg
@ -28,12 +28,12 @@
- mod_wsgi
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg
hosts: nuancier:nuancier-stg
@ -49,7 +49,7 @@
- fedmsg/base
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster on stg
hosts: nuancier-stg
@ -125,4 +125,4 @@
- nuancier
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=odcs:odcs-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=odcs:odcs-stg"
- name: make the box be real
hosts: odcs:odcs-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -24,11 +24,11 @@
- collectd/base
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: openvpn on the prod frontend nodes
hosts: odcs-frontend
@ -44,7 +44,7 @@
- openvpn/client
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Set up a gluster share on the backend for the frontend
hosts: odcs:odcs-stg
@ -88,7 +88,7 @@
- odcs/frontend
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Set up odcs backend service
hosts: odcs-backend:odcs-backend-stg
@ -116,4 +116,4 @@
when: env == 'staging'
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -20,9 +20,9 @@
- apache
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=openqa:openqa-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=openqa:openqa-stg"
- name: setup base openqa host
hosts: openqa:openqa-stg
@ -23,12 +23,12 @@
- apache
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure openQA
hosts: openqa:openqa-stg
@ -54,7 +54,7 @@
- { role: autocloudreporter, tags: ['autocloudreporter'] }
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up openQA server data NFS mounts (staging)
hosts: openqa-stg
@ -77,7 +77,7 @@
tags: ['nfs_client']
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up openQA server data NFS mounts (prod)
hosts: openqa
@ -100,4 +100,4 @@
tags: ['nfs_client']
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -21,9 +21,9 @@
- cloud_compute
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,5 +1,5 @@
# create an os server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=os-control-stg:os-control:os-nodes-stg:os-masters-stg:os-nodes:os-masters"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=os-control-stg:os-control:os-nodes-stg:os-masters-stg:os-nodes:os-masters"
- name: make the box be real
hosts: os-control:os-control-stg:os-masters-stg:os-nodes-stg:os-masters:os-nodes
@ -42,12 +42,12 @@
dest: "/etc/sysconfig/docker-storage-setup"
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: OSBS control hosts pre-req setup
hosts: os-control:os-control-stg

View file

@ -1,6 +1,6 @@
# create an osbs server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=osbs-control"
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=osbs-nodes:osbs-masters"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=osbs-control"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=osbs-nodes:osbs-masters"
- name: make the box be real
hosts: osbs-control:osbs-masters:osbs-nodes
@ -23,12 +23,12 @@
- sudo
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: OSBS control hosts pre-req setup
hosts: osbs-control

View file

@ -1,5 +1,5 @@
# create an osbs server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=osbs-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=osbs-stg"
tags:
- make_boxes
@ -24,12 +24,12 @@
- sudo
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
# Prepare the Control host to be able to run ansible-ansible-openshift-ansible
# against the Orchestration and Worker cluster machines

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=packages:packages-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=packages:packages-stg"
- name: make the box be real
hosts: packages:packages-stg
@ -16,7 +16,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -32,11 +32,11 @@
- mod_wsgi
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster server on prod
hosts: packages
@ -58,7 +58,7 @@
datadir: /srv/glusterfs/packages
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster client on prod
hosts: packages
@ -84,7 +84,7 @@
mountdir: /var/cache/fedoracommunity
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the new service specific config
hosts: packages:packages-stg
@ -103,4 +103,4 @@
process: fedmsg-hub
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pagure:pagure-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pagure:pagure-stg"
- name: make the boxen be real for real
hosts: pagure:pagure-stg
@ -22,12 +22,12 @@
- postgresql_server
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy pagure itself
hosts: pagure:pagure-stg
@ -56,4 +56,4 @@
- pagure/fedmsg
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=paste:paste-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=paste:paste-stg"
- name: make the box be real
hosts: paste-stg:paste
@ -25,9 +25,9 @@
when: env != "staging" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,6 +1,6 @@
# PDC servers (both frontend and backend)
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pdc-web:pdc-web-stg:pdc-backend:pdc-backend-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pdc-web:pdc-web-stg:pdc-backend:pdc-backend-stg"
- name: dole out the generic configuration
hosts: pdc-web:pdc-web-stg:pdc-backend:pdc-backend-stg
@ -11,7 +11,7 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
roles:
- base
@ -23,9 +23,9 @@
- sudo
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
- name: stuff for the web nodes
hosts: pdc-web:pdc-web-stg
@ -36,7 +36,7 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
roles:
- role: openvpn/client
@ -54,7 +54,7 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
roles:
- fedmsg/base

View file

@ -1,7 +1,7 @@
# Create a people server
#
#
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=people"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=people"
- name: make the box be real
hosts: people
@ -81,9 +81,9 @@
- people
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,6 +1,6 @@
# These servers run piwik
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=piwik-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=piwik-stg"
- name: make the box be real
hosts: piwik-stg
@ -25,9 +25,9 @@
- sudo
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -2,7 +2,7 @@
# NOTE: should be used with --limit most of the time
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgdb:pkgdb-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgdb:pkgdb-stg"
- name: make the box be real
hosts: pkgdb-stg:pkgdb
@ -27,12 +27,12 @@
- mod_wsgi
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg on pkgdb
hosts: pkgdb-stg:pkgdb
@ -48,7 +48,7 @@
- fedmsg/base
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy pkgdb itself
hosts: pkgdb-stg:pkgdb
@ -64,4 +64,4 @@
- pkgdb2
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgs-stg:pkgs02.phx2.fedoraproject.org"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgs-stg:pkgs02.phx2.fedoraproject.org"
- name: make the box be real
hosts: pkgs-stg:pkgs02.phx2.fedoraproject.org
@ -50,12 +50,12 @@
tags:
- krb5
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/motd.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: setup fedmsg on pkgs
hosts: pkgs-stg:pkgs02.phx2.fedoraproject.org
@ -73,4 +73,4 @@
- fedmsg/hub
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -2,7 +2,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db-koji01.stg.phx2.fedoraproject.org:db-koji02.stg.phx2.fedoraproject.org:pgbdr01.stg.phx2.fedoraproject.org:pgbdr02.stg.phx2.fedoraproject.org"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db-koji01.stg.phx2.fedoraproject.org:db-koji02.stg.phx2.fedoraproject.org:pgbdr01.stg.phx2.fedoraproject.org:pgbdr02.stg.phx2.fedoraproject.org"
# Once the instance exists, configure it.
@ -29,11 +29,11 @@
- postgresql_server_bdr
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
# TODO: add iscsi task
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -2,7 +2,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db-datanommer01.phx2.fedoraproject.org: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.s390.fedoraproject.org:db-arm-koji01.qa.fedoraproject.org:db-ppc-koji01.ppc.fedoraproject.org:db-qa-stg01.qa.fedoraproject.org:db-qa02.qa.fedoraproject.org"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db-datanommer01.phx2.fedoraproject.org: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.s390.fedoraproject.org:db-arm-koji01.qa.fedoraproject.org:db-ppc-koji01.ppc.fedoraproject.org:db-qa-stg01.qa.fedoraproject.org:db-qa02.qa.fedoraproject.org"
# Once the instance exists, configure it.
@ -17,7 +17,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -32,10 +32,10 @@
- { role: openvpn/client, when: inventory_hostname == "db-fas01.phx2.fedoraproject.org" or inventory_hostname == "db01.phx2.fedoraproject.org" }
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
# TODO: add iscsi task
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,6 +1,6 @@
# create a new proxy server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=proxies:proxies-stg:!proxy07.fedoraproject.org:!proxy05.fedoraproject.org"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=proxies:proxies-stg:!proxy07.fedoraproject.org:!proxy05.fedoraproject.org"
- name: make the box be real
hosts: proxies-stg:proxies
@ -47,18 +47,18 @@
state=link
when: inventory_hostname == 'proxy01.phx2.fedoraproject.org'
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
# You might think we would want these tasks_path on the proxy nodes, but they
# actually deliver a configuration that our proxy-specific roles below then go
# and overwrite... so, let's just leave them out.
#- include: "{{ tasks_path }}/apache.yml"
#- include: "{{ tasks_path }}/mod_wsgi.yml"
#- include_tasks: "{{ tasks_path }}/apache.yml"
#- include_tasks: "{{ tasks_path }}/mod_wsgi.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
# TODO
@ -90,7 +90,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
pre_tasks:
#
@ -169,15 +169,15 @@
# out the proxy-specific configuration into a couple different sub-playbooks.
# Othewise, this file would be unbearably long.
- include: /srv/web/infra/ansible/playbooks/include/proxies-certificates.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-websites.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-fedorahosted.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-fedora-web.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-reverseproxy.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-rewrites.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-redirects.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-haproxy.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-miscellaneous.yml
- include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-certificates.yml
- include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-websites.yml
- include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-fedorahosted.yml
- include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-fedora-web.yml
- include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-reverseproxy.yml
- include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-rewrites.yml
- include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-redirects.yml
- include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-haproxy.yml
- include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-miscellaneous.yml
- name: Make sure we are deployed fully
hosts: proxies-stg:proxies
@ -190,7 +190,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
pre_tasks:
#

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=qa-prod:qa-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=qa-prod:qa-stg"
- name: make the box be real
hosts: qa-prod:qa-stg
@ -28,15 +28,15 @@
- apache
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure phabricator
hosts: qa-prod:qa-stg
@ -54,7 +54,7 @@
- { role: phabricator, tags: ['phabricator'] }
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure qa buildbot CI
@ -74,7 +74,7 @@
- { role: taskotron/buildslave-configure, tags: ['buildslaveconfig'] }
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure static sites for qa-stg
hosts: qa-prod:qa-stg
@ -114,6 +114,6 @@
# when: deployment_type != "qa-stg", tags: ['imagefactoryclient'] }
#
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=releng-compose:releng-stg:compose-ppc64-01.ppc.fedoraproject.org:compose-ppc64le-01.ppc.fedoraproject.org:compose-s390-01.s390.fedoraproject.org"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=releng-compose:releng-stg:compose-ppc64-01.ppc.fedoraproject.org:compose-ppc64le-01.ppc.fedoraproject.org:compose-s390-01.s390.fedoraproject.org"
- name: Setup releng compose hosts
hosts: releng-compose:releng-secondary:releng-stg
@ -18,7 +18,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
@ -71,8 +71,8 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
- name: install skopeo for container management
package:
@ -81,4 +81,4 @@
when: ansible_architecture != "ppc64"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=resultsdb-dev"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=resultsdb-dev"
- name: make the box be real
hosts: resultsdb-dev
@ -28,12 +28,12 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure resultsdb and execdb
hosts: resultsdb-dev
@ -51,5 +51,5 @@
- { role: taskotron/execdb, tags: ['execdb'] }
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=resultsdb-prod"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=resultsdb-prod"
- name: make the box be real
hosts: resultsdb-prod
@ -29,12 +29,12 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure resultsdb production
hosts: resultsdb-prod
@ -53,7 +53,7 @@
- { role: taskotron/execdb, tags: ['execdb'] }
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Install rdbsync
hosts: resultsdb-prod
@ -61,7 +61,7 @@
gather_facts: True
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
vars_files:
- /srv/web/infra/ansible/vars/global.yml

View file

@ -3,7 +3,7 @@
# 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
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=resultsdb-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=resultsdb-stg"
- name: make the box be real
hosts: resultsdb-stg
@ -28,12 +28,12 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure resultsdb
hosts: resultsdb-stg
@ -52,7 +52,7 @@
- { role: taskotron/execdb, tags: ['execdb'] }
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Install rdbsync
hosts: resultsdb-stg
@ -60,7 +60,7 @@
gather_facts: True
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
vars_files:
- /srv/web/infra/ansible/vars/global.yml

View file

@ -1,4 +1,4 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=faf-stg:retrace-stg"
- include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=faf-stg:retrace-stg"
- name: Setup retrace hosts
hosts: retrace:faf-stg:retrace-stg
@ -20,12 +20,12 @@
- fedmsg/base
tasks:
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/motd.yml"
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
- include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: setup FAF server
hosts: retrace:faf-stg

Some files were not shown because too many files have changed in this diff Show more