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

View file

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

View file

@ -7,8 +7,8 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks: tasks:
- include: "{{ tasks_path }}/cloud_setup_basic.yml" - include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
handlers: 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. # 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_playbook: /srv/web/infra/ansible/playbooks/hosts/copr-be.cloud.fedoraproject.org.yml
- include: /srv/web/infra/ansible/playbooks/groups/ask.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/ask.yml
- include: /srv/web/infra/ansible/playbooks/groups/bodhi.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/bodhi.yml
- include: /srv/web/infra/ansible/playbooks/groups/badges-backend.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/badges-backend.yml
- include: /srv/web/infra/ansible/playbooks/groups/badges-web.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/badges-web.yml
- include: /srv/web/infra/ansible/playbooks/groups/busgateway.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/busgateway.yml
- include: /srv/web/infra/ansible/playbooks/groups/elections.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/elections.yml
- include: /srv/web/infra/ansible/playbooks/groups/fedocal.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/fedocal.yml
- include: /srv/web/infra/ansible/playbooks/groups/gallery.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/gallery.yml
- include: /srv/web/infra/ansible/playbooks/groups/keyserver.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/keyserver.yml
- include: /srv/web/infra/ansible/playbooks/groups/koji-hub.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/koji-hub.yml
- include: /srv/web/infra/ansible/playbooks/groups/mailman.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/mailman.yml
- include: /srv/web/infra/ansible/playbooks/groups/notifs-backend.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/notifs-backend.yml
- include: /srv/web/infra/ansible/playbooks/groups/notifs-web.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/notifs-web.yml
- include: /srv/web/infra/ansible/playbooks/groups/nuancier.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/nuancier.yml
- include: /srv/web/infra/ansible/playbooks/groups/packages.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/packages.yml
- include: /srv/web/infra/ansible/playbooks/groups/pkgdb.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/pkgdb.yml
- include: /srv/web/infra/ansible/playbooks/groups/releng.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/releng.yml
- include: /srv/web/infra/ansible/playbooks/groups/summershum.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/summershum.yml
- include: /srv/web/infra/ansible/playbooks/groups/tagger.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/tagger.yml
- include: /srv/web/infra/ansible/playbooks/groups/wiki.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/wiki.yml
- include: /srv/web/infra/ansible/playbooks/groups/value.yml - include_playbook: /srv/web/infra/ansible/playbooks/groups/value.yml

View file

@ -30,4 +30,4 @@
delegate_to: "{{target}}" delegate_to: "{{target}}"
command: ntpdate -u bastion01.phx2.fedoraproject.org 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 # 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 - name: make the boxen be real for real
hosts: anitya hosts: anitya
@ -22,12 +22,12 @@
- openvpn/client - openvpn/client
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up the frontend bits - name: set up the frontend bits
hosts: anitya-frontend hosts: anitya-frontend
@ -56,7 +56,7 @@
- anitya - anitya
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up the backend bits - name: set up the backend bits
hosts: anitya-backend hosts: anitya-backend
@ -76,4 +76,4 @@
- anitya - anitya
handlers: 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 - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -23,7 +23,7 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - name: make the box be real
hosts: ask-stg:ask hosts: ask-stg:ask
@ -26,12 +26,12 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster on stg - name: set up gluster on stg
hosts: ask-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 - name: dole out the generic configuration
hosts: autocloud-backend:autocloud-backend-stg hosts: autocloud-backend:autocloud-backend-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -24,11 +24,11 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: autocloud-backend:autocloud-backend-stg hosts: autocloud-backend:autocloud-backend-stg
@ -39,7 +39,7 @@
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- redis - 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 - name: make the box be real
hosts: autocloud-web:autocloud-web-stg hosts: autocloud-web:autocloud-web-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -27,11 +27,11 @@
when: env != "staging" when: env != "staging"
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the app-specific configuration - name: dole out the app-specific configuration
hosts: autocloud-web:autocloud-web-stg hosts: autocloud-web:autocloud-web-stg
@ -43,7 +43,7 @@
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- autocloud/frontend - autocloud/frontend

View file

@ -28,10 +28,10 @@
- openvpn/client - openvpn/client
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
- include: "{{ tasks_path }}/rdiff_backup_server.yml" - include_tasks: "{{ tasks_path }}/rdiff_backup_server.yml"
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: dole out the generic configuration
hosts: badges-backend:badges-backend-stg hosts: badges-backend:badges-backend-stg
@ -28,12 +28,12 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: badges-backend:badges-backend-stg hosts: badges-backend:badges-backend-stg
@ -52,4 +52,4 @@
- "{{ vars_path }}/{{ ansible_distribution }}.yml" - "{{ vars_path }}/{{ ansible_distribution }}.yml"
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/badges-web* or from hostvars # NOTE: most of these vars_path come from group_vars/badges-web* or from hostvars
- 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 - name: make the box be real
hosts: badges-web:badges-web-stg hosts: badges-web:badges-web-stg
@ -39,9 +39,9 @@
interval: 10 interval: 10
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 # 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 - name: make the box be real
hosts: basset:basset-stg hosts: basset:basset-stg
@ -30,9 +30,9 @@
- basset/worker - basset/worker
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - name: make the boxen be real for real
hosts: bastion hosts: bastion
@ -23,12 +23,12 @@
- opendkim - opendkim
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure bastion-qa - name: configure bastion-qa
hosts: bastion-comm01.qa.fedoraproject.org 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 - name: make the box be real
hosts: batcave hosts: batcave
@ -34,9 +34,9 @@
- { role: nfs/client, mnt_dir: '/mnt/fedora/app', nfs_src_dir: 'fedora_app/app' } - { role: nfs/client, mnt_dir: '/mnt/fedora/app', nfs_src_dir: 'fedora_app/app' }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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'] } - { role: beaker/virthost, tags: ['beakervirthost'] }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: make the box be real
hosts: beaker:beaker-stg hosts: beaker:beaker-stg
@ -28,12 +28,12 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure beaker and required services - name: configure beaker and required services
hosts: beaker:beaker-stg hosts: beaker:beaker-stg
@ -52,5 +52,5 @@
- { role: beaker/labcontroller, tags: ['beakerlabcontroller'] } - { role: beaker/labcontroller, tags: ['beakerlabcontroller'] }
handlers: 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 - name: make the box be real
hosts: blockerbugs:blockerbugs-stg hosts: blockerbugs:blockerbugs-stg
@ -26,9 +26,9 @@
- blockerbugs - blockerbugs
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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. # 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. # Once the instance exists, configure it.
@ -77,9 +77,9 @@
file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
tags: bodhi tags: bodhi
when: env == 'staging' when: env == 'staging'
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - name: make the box be real
hosts: bodhi2:bodhi2-stg hosts: bodhi2:bodhi2-stg
@ -41,9 +41,9 @@
when: env == "staging" when: env == "staging"
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: dole out the generic configuration
hosts: bugyou:bugyou-stg hosts: bugyou:bugyou-stg
@ -25,12 +25,12 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg basics - name: set up fedmsg basics
hosts: bugyou:bugyou-stg hosts: bugyou:bugyou-stg
@ -46,7 +46,7 @@
- fedmsg/base - fedmsg/base
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: bugyou:bugyou-stg hosts: bugyou:bugyou-stg
@ -66,4 +66,4 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: dole out the generic configuration
hosts: bugzilla2fedmsg:bugzilla2fedmsg-stg hosts: bugzilla2fedmsg:bugzilla2fedmsg-stg
@ -26,12 +26,12 @@
- fedmsg/base - fedmsg/base
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: bugzilla2fedmsg:bugzilla2fedmsg-stg hosts: bugzilla2fedmsg:bugzilla2fedmsg-stg
@ -49,4 +49,4 @@
- "{{ vars_path }}/{{ ansible_distribution }}.yml" - "{{ vars_path }}/{{ ansible_distribution }}.yml"
handlers: 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 - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/osbs_certs.yml" - include_tasks: "{{ tasks_path }}/osbs_certs.yml"
roles: roles:
- base - base
@ -29,13 +29,13 @@
service: compile service: compile
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
when: not inventory_hostname.startswith('bkernel') when: not inventory_hostname.startswith('bkernel')
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
when: not inventory_hostname.startswith('bkernel') when: not inventory_hostname.startswith('bkernel')
- name: make sure kojid is running - name: make sure kojid is running
service: name=kojid state=started enabled=yes service: name=kojid state=started enabled=yes
handlers: 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: make sure there is room/space for this builder on the buildvmhost
# NOTE: most of these vars_path come from group_vars/buildvm or from hostvars # NOTE: most of these vars_path come from group_vars/buildvm or from hostvars
- 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) - 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 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 - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -42,16 +42,16 @@
when: env == "staging" when: env == "staging"
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
when: not inventory_hostname.startswith('bkernel') when: not inventory_hostname.startswith('bkernel')
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
when: not inventory_hostname.startswith('bkernel') when: not inventory_hostname.startswith('bkernel')
- name: make sure kojid is running - name: make sure kojid is running
service: name=kojid state=started enabled=yes service: name=kojid state=started enabled=yes
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure osbs on koji builders - name: configure osbs on koji builders
hosts: buildvm:buildvm-stg hosts: buildvm:buildvm-stg
@ -66,8 +66,8 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/osbs_certs.yml" - include_tasks: "{{ tasks_path }}/osbs_certs.yml"
- include: "{{ tasks_path }}/osbs_repos.yml" - include_tasks: "{{ tasks_path }}/osbs_repos.yml"
roles: roles:
- { - {
@ -137,7 +137,7 @@
} }
} }
handlers: 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 - name: configure varnish cache on buildvm-s390x-07.s390.fedoraproject.org
@ -156,7 +156,7 @@
- varnish - varnish
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure sshfs on buildvm-s390x-01.s390.fedoraproject.org - name: configure sshfs on buildvm-s390x-01.s390.fedoraproject.org
hosts: buildvm-s390x-01.s390.fedoraproject.org hosts: buildvm-s390x-01.s390.fedoraproject.org
@ -194,7 +194,7 @@
- sshfs - sshfs
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure sshfs target on koji01 - name: configure sshfs target on koji01
hosts: koji01.phx2.fedoraproject.org hosts: koji01.phx2.fedoraproject.org
@ -218,4 +218,4 @@
- sshfs - sshfs
handlers: 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 - name: dole out the generic configuration
hosts: busgateway:busgateway-stg hosts: busgateway:busgateway-stg
@ -23,12 +23,12 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: busgateway:busgateway-stg hosts: busgateway:busgateway-stg
@ -55,4 +55,4 @@
- "{{ vars_path }}/{{ ansible_distribution }}.yml" - "{{ vars_path }}/{{ ansible_distribution }}.yml"
handlers: 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 - name: make the box be real
hosts: certgetter hosts: certgetter
@ -22,9 +22,9 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: make the box be real
hosts: ci hosts: ci
@ -32,12 +32,12 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure resultsdb production - name: configure resultsdb production
hosts: ci hosts: ci
@ -57,4 +57,4 @@
- { role: ccsdb, tags: ['ccsdb'] } - { role: ccsdb, tags: ['ccsdb'] }
handlers: 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/web/infra/ansible/vars/fedora-cloud.yml
- /srv/private/ansible/files/openstack/passwords.yml - /srv/private/ansible/files/openstack/passwords.yml
tasks: tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml" - include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: cloud basic setup - name: cloud basic setup
hosts: copr-back:copr-back-stg hosts: copr-back:copr-back-stg
@ -21,8 +21,8 @@
- /srv/private/ansible/vars.yml - /srv/private/ansible/vars.yml
tasks: tasks:
- include: "{{ tasks_path }}/cloud_setup_basic.yml" - include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- name: set hostname (required by some services, at least postfix need it) - name: set hostname (required by some services, at least postfix need it)
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org" hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"

View file

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

View file

@ -10,7 +10,7 @@
- /srv/private/ansible/files/openstack/passwords.yml - /srv/private/ansible/files/openstack/passwords.yml
tasks: tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml" - include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: gather facts - name: gather facts
setup: setup:
check_mode: no check_mode: no
@ -29,8 +29,8 @@
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
tasks: tasks:
- include: "{{ tasks_path }}/cloud_setup_basic.yml" - include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- name: set hostname (required by some services, at least postfix need it) - name: set hostname (required by some services, at least postfix need it)
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org" 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 - name: make the box be real
hosts: darkserver-backend:darkserver-backend-stg hosts: darkserver-backend:darkserver-backend-stg
@ -31,12 +31,12 @@
- role: apache - role: apache
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg basics - name: set up fedmsg basics
hosts: darkserver-backend:darkserver-backend-stg hosts: darkserver-backend:darkserver-backend-stg
@ -52,7 +52,7 @@
- fedmsg/base - fedmsg/base
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: darkserver-backend:darkserver-backend-stg hosts: darkserver-backend:darkserver-backend-stg
@ -73,4 +73,4 @@
process: fedmsg-hub process: fedmsg-hub
handlers: 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 - name: make the box be real
hosts: darkserver-web:darkserver-web-stg hosts: darkserver-web:darkserver-web-stg
@ -31,10 +31,10 @@
- darkserver/web - darkserver/web
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - name: make the box be real
hosts: darkserver:darkserver-stg hosts: darkserver:darkserver-stg
@ -32,9 +32,9 @@
- darkserver - darkserver
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 # 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 - name: make the box be real
hosts: datagrepper:datagrepper-stg hosts: datagrepper:datagrepper-stg
@ -27,12 +27,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: datagrepper:datagrepper-stg hosts: datagrepper:datagrepper-stg
@ -52,7 +52,7 @@
interval: 15 interval: 15
handlers: 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 # 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. # datagrepper that is partially in place, but not yet functional.
@ -77,7 +77,7 @@
# datadir: /srv/glusterfs/datagrepper # datadir: /srv/glusterfs/datagrepper
# #
# handlers: # handlers:
# - include: "{{ handlers_path }}/restart_services.yml" # - include_tasks: "{{ handlers_path }}/restart_services.yml"
# #
#- name: set up gluster client on prod #- name: set up gluster client on prod
# hosts: datagrepper:datagrepper-stg # hosts: datagrepper:datagrepper-stg
@ -102,4 +102,4 @@
# mountdir: /var/cache/datagrepper # mountdir: /var/cache/datagrepper
# #
# handlers: # 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 - name: make the box be real
hosts: dhcp hosts: dhcp
@ -22,9 +22,9 @@
- tftp_server - tftp_server
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 # 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 - name: make the box be real
hosts: dns hosts: dns
@ -26,9 +26,9 @@
- dns - dns
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,5 +1,5 @@
# create an osbs server # 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 - name: make the box be real
hosts: docker-registry:docker-registry-stg hosts: docker-registry:docker-registry-stg
@ -24,12 +24,12 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster on stg - name: set up gluster on stg
hosts: 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 - name: Download servers
hosts: download hosts: download
@ -13,7 +13,7 @@
tasks: tasks:
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: post-initial-steps - name: post-initial-steps
@ -44,9 +44,9 @@
- { role: openvpn/client, when: datacenter != "phx2" } - { role: openvpn/client, when: datacenter != "phx2" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
- name: put in script for syncing on download-ib01 - 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 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: 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 - name: make the box be real
hosts: elections:elections-stg hosts: elections:elections-stg
@ -24,12 +24,12 @@
- collectd/base - collectd/base
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg on elections - name: set up fedmsg on elections
hosts: elections:elections-stg hosts: elections:elections-stg
@ -45,7 +45,7 @@
- fedmsg/base - fedmsg/base
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy elections itself - name: deploy elections itself
hosts: elections:elections-stg hosts: elections:elections-stg
@ -61,5 +61,5 @@
- elections - elections
handlers: 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 # 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 - name: make the box be real
hosts: fas-stg:fas hosts: fas-stg:fas
@ -30,9 +30,9 @@
- { role: openvpn/client, when: env != "staging" } - { role: openvpn/client, when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 # 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 - name: make the box be real
hosts: fas3-stg hosts: fas3-stg
@ -30,9 +30,9 @@
#- { role: openvpn/client, when: env != "staging" } #- { role: openvpn/client, when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 # create a new fedimg server
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
- 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 - name: dole out the generic configuration
hosts: fedimg:fedimg-stg hosts: fedimg:fedimg-stg
@ -28,12 +28,12 @@
# when: env != "staging" } # when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: fedimg:fedimg-stg hosts: fedimg:fedimg-stg
@ -61,4 +61,4 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: 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 - name: make the box be real
hosts: fedocal-stg:fedocal hosts: fedocal-stg:fedocal
@ -24,12 +24,12 @@
- collectd/base - collectd/base
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg - name: set up fedmsg
hosts: fedocal-stg:fedocal hosts: fedocal-stg:fedocal
@ -45,7 +45,7 @@
- fedmsg/base - fedmsg/base
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy fedocal itself - name: deploy fedocal itself
hosts: fedocal-stg:fedocal hosts: fedocal-stg:fedocal
@ -61,4 +61,4 @@
- fedocal - fedocal
handlers: 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 - name: make the box be real
hosts: freshmaker:freshmaker-stg hosts: freshmaker:freshmaker-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -24,11 +24,11 @@
- collectd/base - collectd/base
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: openvpn on the prod frontend nodes - name: openvpn on the prod frontend nodes
hosts: freshmaker-frontend hosts: freshmaker-frontend
@ -44,7 +44,7 @@
- openvpn/client - openvpn/client
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Set up apache on the frontend MBS API app - name: Set up apache on the frontend MBS API app
hosts: freshmaker-frontend:freshmaker-frontend-stg hosts: freshmaker-frontend:freshmaker-frontend-stg
@ -60,7 +60,7 @@
- mod_wsgi - mod_wsgi
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg configuration and common freshmaker files - name: set up fedmsg configuration and common freshmaker files
hosts: freshmaker:freshmaker-stg hosts: freshmaker:freshmaker-stg
@ -76,4 +76,4 @@
- fedmsg/base - fedmsg/base
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/github2fedmsg* or from hostvars # NOTE: most of these vars_path come from group_vars/github2fedmsg* or from hostvars
- 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 - name: make the box be real
hosts: github2fedmsg:github2fedmsg-stg hosts: github2fedmsg:github2fedmsg-stg
@ -29,12 +29,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy service-specific config - name: deploy service-specific config
hosts: github2fedmsg:github2fedmsg-stg hosts: github2fedmsg:github2fedmsg-stg
@ -47,7 +47,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- github2fedmsg - 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 - name: make the boxen be real for real
hosts: gnome-backups hosts: gnome-backups
@ -25,9 +25,9 @@
nfs_src_dir: 'gnome_backups' } nfs_src_dir: 'gnome_backups' }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - name: make the boxen be real for real
hosts: newhosted hosts: newhosted
@ -21,9 +21,9 @@
- openvpn/client - openvpn/client
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: dole out the generic configuration
hosts: hotness:hotness-stg hosts: hotness:hotness-stg
@ -32,12 +32,12 @@
# when: env != "staging" } # when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg basics - name: set up fedmsg basics
hosts: hotness:hotness-stg hosts: hotness:hotness-stg
@ -53,7 +53,7 @@
- fedmsg/base - fedmsg/base
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: hotness:hotness-stg hosts: hotness:hotness-stg
@ -72,4 +72,4 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: 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 # 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 - name: make the boxen be real for real
hosts: infinote hosts: infinote
@ -29,9 +29,9 @@
- infinote - infinote
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - name: make the box be real
hosts: ipa:ipa-stg hosts: ipa:ipa-stg
@ -23,12 +23,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy ipa itself - name: deploy ipa itself
hosts: ipa:ipa-stg hosts: ipa:ipa-stg
@ -51,7 +51,7 @@
- combine IPA http keytabs - combine IPA http keytabs
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
tasks: tasks:
- name: Combine IPA keytabs - name: Combine IPA keytabs
@ -100,4 +100,4 @@
- base - base
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/ipsilon* or from hostvars # NOTE: most of these vars_path come from group_vars/ipsilon* or from hostvars
- 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 - name: make the box be real
hosts: ipsilon:ipsilon-stg hosts: ipsilon:ipsilon-stg
@ -40,12 +40,12 @@
when: env == "production" when: env == "production"
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy ipsilon itself - name: deploy ipsilon itself
hosts: ipsilon:ipsilon-stg hosts: ipsilon:ipsilon-stg
@ -61,4 +61,4 @@
- ipsilon - ipsilon
handlers: 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 - /srv/private/ansible/files/openstack/passwords.yml
tasks: tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml" - include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: setup all the things - name: setup all the things
hosts: jenkins-master hosts: jenkins-master
@ -21,10 +21,10 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: 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) - name: set hostname (required by some services, at least postfix need it)
hostname: name="{{inventory_hostname}}" hostname: name="{{inventory_hostname}}"
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- name: provision instance - name: provision instance
hosts: jenkins-master hosts: jenkins-master
@ -41,8 +41,8 @@
- certbot - certbot
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - /srv/private/ansible/files/openstack/passwords.yml
tasks: tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml" - include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: setup all the things - name: setup all the things
hosts: jenkins-slave hosts: jenkins-slave
@ -21,10 +21,10 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: 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) - name: set hostname (required by some services, at least postfix need it)
hostname: name="{{inventory_hostname}}" hostname: name="{{inventory_hostname}}"
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- name: provision instance - name: provision instance
hosts: jenkins-slave hosts: jenkins-slave
@ -39,9 +39,9 @@
- jenkins/slave - jenkins/slave
tasks: tasks:
# - include: "{{ tasks_path }}/growroot_cloud.yml" # - include_tasks: "{{ tasks_path }}/growroot_cloud.yml"
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/kerneltest* or from hostvars # NOTE: most of these vars_path come from group_vars/kerneltest* or from hostvars
- 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 - name: make the box be real
hosts: kerneltest-stg:kerneltest hosts: kerneltest-stg:kerneltest
@ -29,12 +29,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy service-specific config - name: deploy service-specific config
hosts: kerneltest-stg:kerneltest hosts: kerneltest-stg:kerneltest
@ -47,7 +47,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- kerneltest - kerneltest

View file

@ -3,7 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/gallery-web* or from hostvars # NOTE: most of these vars_path come from group_vars/gallery-web* or from hostvars
- 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 - name: make the box be real
hosts: keys hosts: keys
@ -30,9 +30,9 @@
- keyserver - keyserver
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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: should be used with --limit most of the time
# NOTE: most of these vars_path come from group_vars/koji-hub or from hostvars # NOTE: most of these vars_path come from group_vars/koji-hub or from hostvars
- 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. # Once the instance exists, configure it.
@ -17,8 +17,8 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/osbs_certs.yml" - include_tasks: "{{ tasks_path }}/osbs_certs.yml"
- include: "{{ tasks_path }}/osbs_repos.yml" - include_tasks: "{{ tasks_path }}/osbs_repos.yml"
roles: roles:
- base - base
@ -82,12 +82,12 @@
file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
tags: koji_hub tags: koji_hub
when: env == 'staging' when: env == 'staging'
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
#- name: Start the kojid builder daemon, but only on staging. #- 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 - name: make the boxen be real for real
hosts: kojipkgs hosts: kojipkgs
@ -32,9 +32,9 @@
- role: varnish - role: varnish
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - name: install koschei
hosts: koschei-backend:koschei-backend-stg hosts: koschei-backend:koschei-backend-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -31,8 +31,8 @@
- fedmsg/base - fedmsg/base
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - name: install koschei-frontend
hosts: koschei-web:koschei-web-stg hosts: koschei-web:koschei-web-stg
@ -24,9 +24,9 @@
- koschei/frontend - koschei/frontend
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - name: make the box be real
hosts: log01.phx2.fedoraproject.org hosts: log01.phx2.fedoraproject.org
@ -31,9 +31,9 @@
when: env == "production" when: env == "production"
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
# #
# We exclude some dirs from restorecon on updates on logservers as they are very large # 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 copy: src="{{ files }}/logserver/fixfiles_exclude_dirs" dest=/etc/selinux/fixfiles_exclude_dirs owner=root mode=0644
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Cloud Image stats - name: Cloud Image stats
hosts: log01.phx2.fedoraproject.org hosts: log01.phx2.fedoraproject.org
@ -63,4 +63,4 @@
nfs_src_dir: 'fedora_stats' nfs_src_dir: 'fedora_stats'
handlers: 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 # 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 - name: make the box be real
hosts: loopabull-stg hosts: loopabull-stg
@ -12,7 +12,7 @@
- "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml" - "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml"
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -24,11 +24,11 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Deploy and configure loopabull - name: Deploy and configure loopabull
hosts: loopabull-stg hosts: loopabull-stg
@ -41,7 +41,7 @@
- "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml" - "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
tasks: tasks:
- name: git clone the releng-automation playbook repo - name: git clone the releng-automation playbook repo
@ -90,7 +90,7 @@
- "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml" - "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
tasks: tasks:
- name: Enable fedmsg-rabbitmq-serializer - 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: make the box be real
hosts: mailman-stg:mailman hosts: mailman-stg:mailman
@ -29,12 +29,12 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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') when: inventory_hostname.startswith('mailman01.phx2') or inventory_hostname.startswith('lists-dev')
handlers: 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 - /srv/private/ansible/files/openstack/passwords.yml
tasks: tasks:
- include: "{{ tasks_path }}/persistent_cloud.yml" - include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
- name: Do some basic cloud setup on them - name: Do some basic cloud setup on them
hosts: maintainer-test hosts: maintainer-test
@ -21,7 +21,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: 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) - name: set hostname (required by some services, at least postfix need it)
hostname: name="{{inventory_hostname}}" hostname: name="{{inventory_hostname}}"
@ -37,7 +37,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -48,7 +48,7 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
- name: install packager tools (dnf) - name: install packager tools (dnf)
dnf: state=present pkg={{ item }} dnf: state=present pkg={{ item }}
@ -68,4 +68,4 @@
- config - config
handlers: 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: should be used with --limit most of the time
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars # NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
- 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. # Once the instance exists, configure it.
@ -27,11 +27,11 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
# TODO: add iscsi task # TODO: add iscsi task
handlers: 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 - name: make the box be real
hosts: mbs:mbs-stg hosts: mbs:mbs-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -24,11 +24,11 @@
- collectd/base - collectd/base
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: openvpn on the prod frontend nodes - name: openvpn on the prod frontend nodes
hosts: mbs-frontend hosts: mbs-frontend
@ -44,7 +44,7 @@
- openvpn/client - openvpn/client
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Set up apache on the frontend MBS API app - name: Set up apache on the frontend MBS API app
hosts: mbs-frontend:mbs-frontend-stg hosts: mbs-frontend:mbs-frontend-stg
@ -60,7 +60,7 @@
- mod_wsgi - mod_wsgi
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg configuration and common mbs files - name: set up fedmsg configuration and common mbs files
hosts: mbs:mbs-stg hosts: mbs:mbs-stg
@ -77,7 +77,7 @@
- mbs/common - mbs/common
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy the frontend MBS API app - name: deploy the frontend MBS API app
hosts: mbs-frontend:mbs-frontend-stg hosts: mbs-frontend:mbs-frontend-stg
@ -93,7 +93,7 @@
- mbs/frontend - mbs/frontend
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy the backend MBS scheduler daemon - name: deploy the backend MBS scheduler daemon
hosts: mbs-backend:mbs-backend-stg hosts: mbs-backend:mbs-backend-stg
@ -119,4 +119,4 @@
#- mbs/backend #- mbs/backend
handlers: 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 - name: make the box be real
hosts: mdapi-stg:mdapi hosts: mdapi-stg:mdapi
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -27,11 +27,11 @@
- { role: mod_wsgi, when: env == "staging" } - { role: mod_wsgi, when: env == "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy mdapi itself - name: deploy mdapi itself
hosts: mdapi-stg:mdapi hosts: mdapi-stg:mdapi
@ -48,7 +48,7 @@
- { role: plus-plus-service, when: env == "staging" } - { role: plus-plus-service, when: env == "staging" }
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg - name: set up fedmsg
hosts: mdapi-stg:mdapi hosts: mdapi-stg:mdapi
@ -64,4 +64,4 @@
- fedmsg/base - fedmsg/base
handlers: 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 - name: make the box be real
hosts: memcached:memcached-stg hosts: memcached:memcached-stg
@ -22,9 +22,9 @@
- memcached - memcached
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: make the box be real
hosts: mirrorlist2:mirrorlist2-stg hosts: mirrorlist2:mirrorlist2-stg
@ -64,10 +64,10 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - name: make the boxe be real for real
hosts: mm:mm-stg 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' } - { role: nfs/client, when: inventory_hostname.startswith('mm-backend01'), mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Deploy the backend - name: Deploy the backend
hosts: mm-backend:mm-backend-stg hosts: mm-backend:mm-backend-stg
@ -45,7 +45,7 @@
- geoip - geoip
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Deploy the crawler - name: Deploy the crawler
hosts: mm-crawler:mm-crawler-stg hosts: mm-crawler:mm-crawler-stg
@ -64,7 +64,7 @@
- { role: openvpn/client, when: datacenter != "phx2" } - { role: openvpn/client, when: datacenter != "phx2" }
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Deploy the frontend (web-app) - name: Deploy the frontend (web-app)
hosts: mm-frontend:mm-frontend-stg hosts: mm-frontend:mm-frontend-stg
@ -80,7 +80,7 @@
- mirrormanager/frontend2 - mirrormanager/frontend2
handlers: 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 # Do this one last, since the mirrormanager user needs to exist so that it can
# own the fedmsg certs we put in place here. # own the fedmsg certs we put in place here.
@ -98,4 +98,4 @@
- fedmsg/base - fedmsg/base
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: dole out the generic configuration
hosts: modernpaste-stg:modernpaste hosts: modernpaste-stg:modernpaste
@ -27,12 +27,12 @@
- { role: openvpn/client, when: env != "staging" } - { role: openvpn/client, when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: modernpaste-stg:modernpaste hosts: modernpaste-stg:modernpaste
@ -48,4 +48,4 @@
- "{{ vars_path }}/{{ ansible_distribution }}.yml" - "{{ vars_path }}/{{ ansible_distribution }}.yml"
handlers: 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 # 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 - name: make the box be real
hosts: nagios hosts: nagios
@ -12,7 +12,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -41,11 +41,11 @@
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy service-specific config (just for production) - name: deploy service-specific config (just for production)
hosts: nagios hosts: nagios
@ -58,7 +58,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- { role: dhcp_server, when: datacenter == 'phx2' } - { 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: dole out the generic configuration
hosts: notifs-backend:notifs-backend-stg hosts: notifs-backend:notifs-backend-stg
@ -30,12 +30,12 @@
# when: env != "staging" } # when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: notifs-backend:notifs-backend-stg hosts: notifs-backend:notifs-backend-stg
@ -66,4 +66,4 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/notifs-web* or from hostvars # NOTE: most of these vars_path come from group_vars/notifs-web* or from hostvars
- 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 - name: make the box be real
hosts: notifs-web:notifs-web-stg hosts: notifs-web:notifs-web-stg
@ -30,9 +30,9 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/nuancier* or from hostvars # NOTE: most of these vars_path come from group_vars/nuancier* or from hostvars
- 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 - name: make the box be real
hosts: nuancier:nuancier-stg hosts: nuancier:nuancier-stg
@ -28,12 +28,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg - name: set up fedmsg
hosts: nuancier:nuancier-stg hosts: nuancier:nuancier-stg
@ -49,7 +49,7 @@
- fedmsg/base - fedmsg/base
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster on stg - name: set up gluster on stg
hosts: nuancier-stg hosts: nuancier-stg
@ -125,4 +125,4 @@
- nuancier - nuancier
handlers: 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 - name: make the box be real
hosts: odcs:odcs-stg hosts: odcs:odcs-stg
@ -11,7 +11,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -24,11 +24,11 @@
- collectd/base - collectd/base
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: openvpn on the prod frontend nodes - name: openvpn on the prod frontend nodes
hosts: odcs-frontend hosts: odcs-frontend
@ -44,7 +44,7 @@
- openvpn/client - openvpn/client
handlers: 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 - name: Set up a gluster share on the backend for the frontend
hosts: odcs:odcs-stg hosts: odcs:odcs-stg
@ -88,7 +88,7 @@
- odcs/frontend - odcs/frontend
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Set up odcs backend service - name: Set up odcs backend service
hosts: odcs-backend:odcs-backend-stg hosts: odcs-backend:odcs-backend-stg
@ -116,4 +116,4 @@
when: env == 'staging' when: env == 'staging'
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -20,9 +20,9 @@
- apache - apache
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 - name: setup base openqa host
hosts: openqa:openqa-stg hosts: openqa:openqa-stg
@ -23,12 +23,12 @@
- apache - apache
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure openQA - name: configure openQA
hosts: openqa:openqa-stg hosts: openqa:openqa-stg
@ -54,7 +54,7 @@
- { role: autocloudreporter, tags: ['autocloudreporter'] } - { role: autocloudreporter, tags: ['autocloudreporter'] }
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up openQA server data NFS mounts (staging) - name: set up openQA server data NFS mounts (staging)
hosts: openqa-stg hosts: openqa-stg
@ -77,7 +77,7 @@
tags: ['nfs_client'] tags: ['nfs_client']
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up openQA server data NFS mounts (prod) - name: set up openQA server data NFS mounts (prod)
hosts: openqa hosts: openqa
@ -100,4 +100,4 @@
tags: ['nfs_client'] tags: ['nfs_client']
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

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

View file

@ -1,5 +1,5 @@
# create an os server # 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 - name: make the box be real
hosts: os-control:os-control-stg:os-masters-stg:os-nodes-stg:os-masters:os-nodes 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" dest: "/etc/sysconfig/docker-storage-setup"
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: OSBS control hosts pre-req setup - name: OSBS control hosts pre-req setup
hosts: os-control:os-control-stg hosts: os-control:os-control-stg

View file

@ -1,6 +1,6 @@
# create an osbs server # create an osbs server
- include: "/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-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-nodes:osbs-masters"
- name: make the box be real - name: make the box be real
hosts: osbs-control:osbs-masters:osbs-nodes hosts: osbs-control:osbs-masters:osbs-nodes
@ -23,12 +23,12 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: OSBS control hosts pre-req setup - name: OSBS control hosts pre-req setup
hosts: osbs-control hosts: osbs-control

View file

@ -1,5 +1,5 @@
# create an osbs server # 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: tags:
- make_boxes - make_boxes
@ -24,12 +24,12 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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 # Prepare the Control host to be able to run ansible-ansible-openshift-ansible
# against the Orchestration and Worker cluster machines # 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/packages* or from hostvars # NOTE: most of these vars_path come from group_vars/packages* or from hostvars
- 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 - name: make the box be real
hosts: packages:packages-stg hosts: packages:packages-stg
@ -16,7 +16,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -32,11 +32,11 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster server on prod - name: set up gluster server on prod
hosts: packages hosts: packages
@ -58,7 +58,7 @@
datadir: /srv/glusterfs/packages datadir: /srv/glusterfs/packages
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster client on prod - name: set up gluster client on prod
hosts: packages hosts: packages
@ -84,7 +84,7 @@
mountdir: /var/cache/fedoracommunity mountdir: /var/cache/fedoracommunity
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: dole out the new service specific config - name: dole out the new service specific config
hosts: packages:packages-stg hosts: packages:packages-stg
@ -103,4 +103,4 @@
process: fedmsg-hub process: fedmsg-hub
handlers: 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 - name: make the boxen be real for real
hosts: pagure:pagure-stg hosts: pagure:pagure-stg
@ -22,12 +22,12 @@
- postgresql_server - postgresql_server
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy pagure itself - name: deploy pagure itself
hosts: pagure:pagure-stg hosts: pagure:pagure-stg
@ -56,4 +56,4 @@
- pagure/fedmsg - pagure/fedmsg
handlers: 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 - name: make the box be real
hosts: paste-stg:paste hosts: paste-stg:paste
@ -25,9 +25,9 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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) # 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 - name: dole out the generic configuration
hosts: pdc-web:pdc-web-stg:pdc-backend:pdc-backend-stg hosts: pdc-web:pdc-web-stg:pdc-backend:pdc-backend-stg
@ -11,7 +11,7 @@
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- base - base
@ -23,9 +23,9 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
- name: stuff for the web nodes - name: stuff for the web nodes
hosts: pdc-web:pdc-web-stg hosts: pdc-web:pdc-web-stg
@ -36,7 +36,7 @@
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- role: openvpn/client - role: openvpn/client
@ -54,7 +54,7 @@
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- fedmsg/base - fedmsg/base

View file

@ -1,7 +1,7 @@
# Create a people server # 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 - name: make the box be real
hosts: people hosts: people
@ -81,9 +81,9 @@
- people - people
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -1,6 +1,6 @@
# These servers run piwik # 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 - name: make the box be real
hosts: piwik-stg hosts: piwik-stg
@ -25,9 +25,9 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: 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: should be used with --limit most of the time
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/pkgdb* or from hostvars # NOTE: most of these vars_path come from group_vars/pkgdb* or from hostvars
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgdb:pkgdb-stg" - include_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgdb:pkgdb-stg"
- name: make the box be real - name: make the box be real
hosts: pkgdb-stg:pkgdb hosts: pkgdb-stg:pkgdb
@ -27,12 +27,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: set up fedmsg on pkgdb - name: set up fedmsg on pkgdb
hosts: pkgdb-stg:pkgdb hosts: pkgdb-stg:pkgdb
@ -48,7 +48,7 @@
- fedmsg/base - fedmsg/base
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: deploy pkgdb itself - name: deploy pkgdb itself
hosts: pkgdb-stg:pkgdb hosts: pkgdb-stg:pkgdb
@ -64,4 +64,4 @@
- pkgdb2 - pkgdb2
handlers: 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 - name: make the box be real
hosts: pkgs-stg:pkgs02.phx2.fedoraproject.org hosts: pkgs-stg:pkgs02.phx2.fedoraproject.org
@ -50,12 +50,12 @@
tags: tags:
- krb5 - krb5
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: setup fedmsg on pkgs - name: setup fedmsg on pkgs
hosts: pkgs-stg:pkgs02.phx2.fedoraproject.org hosts: pkgs-stg:pkgs02.phx2.fedoraproject.org
@ -73,4 +73,4 @@
- fedmsg/hub - fedmsg/hub
handlers: 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: should be used with --limit most of the time
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars # NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
- 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. # Once the instance exists, configure it.
@ -29,11 +29,11 @@
- postgresql_server_bdr - postgresql_server_bdr
tasks: tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
# TODO: add iscsi task # TODO: add iscsi task
handlers: 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: should be used with --limit most of the time
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars # NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
- 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. # Once the instance exists, configure it.
@ -17,7 +17,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -32,10 +32,10 @@
- { role: openvpn/client, when: inventory_hostname == "db-fas01.phx2.fedoraproject.org" or inventory_hostname == "db01.phx2.fedoraproject.org" } - { role: openvpn/client, when: inventory_hostname == "db-fas01.phx2.fedoraproject.org" or inventory_hostname == "db01.phx2.fedoraproject.org" }
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
# TODO: add iscsi task # TODO: add iscsi task
handlers: 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 # 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 - name: make the box be real
hosts: proxies-stg:proxies hosts: proxies-stg:proxies
@ -47,18 +47,18 @@
state=link state=link
when: inventory_hostname == 'proxy01.phx2.fedoraproject.org' when: inventory_hostname == 'proxy01.phx2.fedoraproject.org'
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
# You might think we would want these tasks_path on the proxy nodes, but they # 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 # actually deliver a configuration that our proxy-specific roles below then go
# and overwrite... so, let's just leave them out. # and overwrite... so, let's just leave them out.
#- include: "{{ tasks_path }}/apache.yml" #- include_tasks: "{{ tasks_path }}/apache.yml"
#- include: "{{ tasks_path }}/mod_wsgi.yml" #- include_tasks: "{{ tasks_path }}/mod_wsgi.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
# TODO # TODO
@ -90,7 +90,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
pre_tasks: pre_tasks:
# #
@ -169,15 +169,15 @@
# out the proxy-specific configuration into a couple different sub-playbooks. # out the proxy-specific configuration into a couple different sub-playbooks.
# Othewise, this file would be unbearably long. # Othewise, this file would be unbearably long.
- include: /srv/web/infra/ansible/playbooks/include/proxies-certificates.yml - include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-certificates.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-websites.yml - include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-websites.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-fedorahosted.yml - include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-fedorahosted.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-fedora-web.yml - include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-fedora-web.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-reverseproxy.yml - include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-reverseproxy.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-rewrites.yml - include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-rewrites.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-redirects.yml - include_playbook: /srv/web/infra/ansible/playbooks/include/proxies-redirects.yml
- include: /srv/web/infra/ansible/playbooks/include/proxies-haproxy.yml - include_playbook: /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-miscellaneous.yml
- name: Make sure we are deployed fully - name: Make sure we are deployed fully
hosts: proxies-stg:proxies hosts: proxies-stg:proxies
@ -190,7 +190,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
pre_tasks: pre_tasks:
# #

View file

@ -3,7 +3,7 @@
# NOTE: make sure there is room/space for this server on the vmhost # NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: make the box be real
hosts: qa-prod:qa-stg hosts: qa-prod:qa-stg
@ -28,15 +28,15 @@
- apache - apache
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure phabricator - name: configure phabricator
hosts: qa-prod:qa-stg hosts: qa-prod:qa-stg
@ -54,7 +54,7 @@
- { role: phabricator, tags: ['phabricator'] } - { role: phabricator, tags: ['phabricator'] }
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure qa buildbot CI - name: configure qa buildbot CI
@ -74,7 +74,7 @@
- { role: taskotron/buildslave-configure, tags: ['buildslaveconfig'] } - { role: taskotron/buildslave-configure, tags: ['buildslaveconfig'] }
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure static sites for qa-stg - name: configure static sites for qa-stg
hosts: qa-prod:qa-stg hosts: qa-prod:qa-stg
@ -114,6 +114,6 @@
# when: deployment_type != "qa-stg", tags: ['imagefactoryclient'] } # when: deployment_type != "qa-stg", tags: ['imagefactoryclient'] }
# #
handlers: 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: make sure there is room/space for this instance on the buildvmhost
# NOTE: most of these vars_path come from group_vars/releng or from hostvars # NOTE: most of these vars_path come from group_vars/releng or from hostvars
- 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 - name: Setup releng compose hosts
hosts: releng-compose:releng-secondary:releng-stg hosts: releng-compose:releng-secondary:releng-stg
@ -18,7 +18,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -71,8 +71,8 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
- name: install skopeo for container management - name: install skopeo for container management
package: package:
@ -81,4 +81,4 @@
when: ansible_architecture != "ppc64" when: ansible_architecture != "ppc64"
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: make the box be real
hosts: resultsdb-dev hosts: resultsdb-dev
@ -28,12 +28,12 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure resultsdb and execdb - name: configure resultsdb and execdb
hosts: resultsdb-dev hosts: resultsdb-dev
@ -51,5 +51,5 @@
- { role: taskotron/execdb, tags: ['execdb'] } - { role: taskotron/execdb, tags: ['execdb'] }
handlers: 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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: make the box be real
hosts: resultsdb-prod hosts: resultsdb-prod
@ -29,12 +29,12 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure resultsdb production - name: configure resultsdb production
hosts: resultsdb-prod hosts: resultsdb-prod
@ -53,7 +53,7 @@
- { role: taskotron/execdb, tags: ['execdb'] } - { role: taskotron/execdb, tags: ['execdb'] }
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Install rdbsync - name: Install rdbsync
hosts: resultsdb-prod hosts: resultsdb-prod
@ -61,7 +61,7 @@
gather_facts: True gather_facts: True
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
vars_files: vars_files:
- /srv/web/infra/ansible/vars/global.yml - /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: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- 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 - name: make the box be real
hosts: resultsdb-stg hosts: resultsdb-stg
@ -28,12 +28,12 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: configure resultsdb - name: configure resultsdb
hosts: resultsdb-stg hosts: resultsdb-stg
@ -52,7 +52,7 @@
- { role: taskotron/execdb, tags: ['execdb'] } - { role: taskotron/execdb, tags: ['execdb'] }
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Install rdbsync - name: Install rdbsync
hosts: resultsdb-stg hosts: resultsdb-stg
@ -60,7 +60,7 @@
gather_facts: True gather_facts: True
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
vars_files: vars_files:
- /srv/web/infra/ansible/vars/global.yml - /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 - name: Setup retrace hosts
hosts: retrace:faf-stg:retrace-stg hosts: retrace:faf-stg:retrace-stg
@ -20,12 +20,12 @@
- fedmsg/base - fedmsg/base
tasks: tasks:
- include: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/yumrepos.yml" - include_tasks: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers_path }}/restart_services.yml" - include_tasks: "{{ handlers_path }}/restart_services.yml"
- name: setup FAF server - name: setup FAF server
hosts: retrace:faf-stg hosts: retrace:faf-stg

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