switch all the handlers to import and drop the global static import

This commit is contained in:
Kevin Fenzi 2017-10-15 20:29:59 +00:00
parent a4ca0db30c
commit 69fd8d117a
148 changed files with 254 additions and 255 deletions

View file

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

View file

@ -11,4 +11,4 @@
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -27,7 +27,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -26,4 +26,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -31,7 +31,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: set up gluster on stg - name: set up gluster on stg
hosts: ask-stg hosts: ask-stg

View file

@ -28,7 +28,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
roles: roles:
- redis - redis

View file

@ -31,7 +31,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
roles: roles:
- autocloud/frontend - autocloud/frontend

View file

@ -34,4 +34,4 @@
- include_tasks: "{{ tasks_path }}/rdiff_backup_server.yml" - include_tasks: "{{ tasks_path }}/rdiff_backup_server.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -33,7 +33,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -44,4 +44,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -35,4 +35,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -28,7 +28,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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

@ -39,4 +39,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -32,4 +32,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -33,7 +33,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -31,4 +31,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -82,4 +82,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -46,4 +46,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -30,7 +30,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -31,7 +31,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -38,4 +38,4 @@
service: name=kojid state=started enabled=yes service: name=kojid state=started enabled=yes
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -51,7 +51,7 @@
service: name=kojid state=started enabled=yes service: name=kojid state=started enabled=yes
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: configure osbs on koji builders - name: configure osbs on koji builders
hosts: buildvm:buildvm-stg hosts: buildvm:buildvm-stg
@ -137,7 +137,7 @@
} }
} }
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -28,7 +28,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -27,4 +27,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -37,7 +37,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -36,7 +36,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -36,5 +36,5 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -37,4 +37,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -32,7 +32,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" # - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" # - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -27,4 +27,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -31,4 +31,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -29,7 +29,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: set up gluster on stg - name: set up gluster on stg
hosts: hosts:

View file

@ -13,7 +13,7 @@
tasks: tasks:
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: post-initial-steps - name: post-initial-steps
@ -68,5 +68,5 @@
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -29,7 +29,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -35,4 +35,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -35,4 +35,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -33,7 +33,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -29,7 +29,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -28,7 +28,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -34,7 +34,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
roles: roles:
- github2fedmsg - github2fedmsg

View file

@ -30,4 +30,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -37,7 +37,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -34,4 +34,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -28,7 +28,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
tasks: tasks:
- name: Combine IPA keytabs - name: Combine IPA keytabs
@ -100,4 +100,4 @@
- base - base
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -45,7 +45,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -45,4 +45,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -44,4 +44,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -34,7 +34,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
roles: roles:
- kerneltest - kerneltest

View file

@ -35,4 +35,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -87,7 +87,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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

@ -37,4 +37,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -35,4 +35,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -29,4 +29,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -28,7 +28,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
tasks: tasks:
- name: Enable fedmsg-rabbitmq-serializer - name: Enable fedmsg-rabbitmq-serializer

View file

@ -34,7 +34,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -68,4 +68,4 @@
- config - config
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -34,4 +34,4 @@
# TODO: add iscsi task # TODO: add iscsi task
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -28,7 +28,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -31,7 +31,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -27,4 +27,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -70,4 +70,4 @@
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -27,7 +27,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -32,7 +32,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -45,7 +45,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
roles: roles:
- { role: dhcp_server, when: datacenter == 'phx2' } - { role: dhcp_server, when: datacenter == 'phx2' }

View file

@ -35,7 +35,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -35,4 +35,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -33,7 +33,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -28,7 +28,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -25,4 +25,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -28,7 +28,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -26,4 +26,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -47,7 +47,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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

@ -28,7 +28,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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

@ -29,7 +29,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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

@ -36,7 +36,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -27,7 +27,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
roles: roles:
- base - base
@ -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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
roles: roles:
- fedmsg/base - fedmsg/base

View file

@ -86,4 +86,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -30,4 +30,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -32,7 +32,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -55,7 +55,7 @@
- include_tasks: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -36,4 +36,4 @@
# TODO: add iscsi task # TODO: add iscsi task
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -38,4 +38,4 @@
# TODO: add iscsi task # TODO: add iscsi task
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -58,7 +58,7 @@
#- include_tasks: "{{ tasks_path }}/mod_wsgi.yml" #- include_tasks: "{{ tasks_path }}/mod_wsgi.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
pre_tasks: pre_tasks:
# #
@ -190,7 +190,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
pre_tasks: pre_tasks:
# #

View file

@ -36,7 +36,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -81,4 +81,4 @@
when: ansible_architecture != "ppc64" when: ansible_architecture != "ppc64"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -33,7 +33,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -34,7 +34,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
vars_files: vars_files:
- /srv/web/infra/ansible/vars/global.yml - /srv/web/infra/ansible/vars/global.yml

View file

@ -33,7 +33,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
vars_files: vars_files:
- /srv/web/infra/ansible/vars/global.yml - /srv/web/infra/ansible/vars/global.yml

View file

@ -25,7 +25,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: setup FAF server - name: setup FAF server
hosts: retrace:faf-stg hosts: retrace:faf-stg

View file

@ -71,4 +71,4 @@
cron_file=update-fullfiletimelist cron_file=update-fullfiletimelist
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -37,4 +37,4 @@
- include_tasks: "{{ tasks_path }}/2fa_client.yml" - include_tasks: "{{ tasks_path }}/2fa_client.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -29,4 +29,4 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -14,7 +14,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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
roles: roles:
- base - base
@ -40,7 +40,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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
roles: roles:
- mod_wsgi - mod_wsgi
@ -57,7 +57,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_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
roles: roles:
- fedmsg/hub - fedmsg/hub

View file

@ -34,7 +34,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: set up fedmsg basics - name: set up fedmsg basics
hosts: summershum:summershum-stg hosts: summershum:summershum-stg
@ -50,7 +50,7 @@
- fedmsg/base - fedmsg/base
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: dole out the service-specific config - name: dole out the service-specific config
hosts: summershum:summershum-stg hosts: summershum:summershum-stg
@ -69,4 +69,4 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -62,4 +62,4 @@
when: master_sundries_node and env == "staging" when: master_sundries_node and env == "staging"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -34,7 +34,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: dole out the service specific config - name: dole out the service specific config
hosts: tagger:tagger-stg hosts: tagger:tagger-stg
@ -50,7 +50,7 @@
- tagger - tagger
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
# This comes last because it relies on a group created by the tagger role. # This comes last because it relies on a group created by the tagger role.
- name: setup fedmsg - name: setup fedmsg
@ -67,4 +67,4 @@
- fedmsg/base - fedmsg/base
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -32,7 +32,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: configure taskotron imagefactory - name: configure taskotron imagefactory
hosts: qa11.qa.fedoraproject.org:qa12.qa.fedoraproject.org hosts: qa11.qa.fedoraproject.org:qa12.qa.fedoraproject.org
@ -48,7 +48,7 @@
- { role: taskotron/imagefactory, tags: ['taskotronimagefactory'] } - { role: taskotron/imagefactory, tags: ['taskotronimagefactory'] }
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: configure taskotron client host - name: configure taskotron client host
hosts: taskotron-dev-client-hosts:taskotron-stg-client-hosts:taskotron-prod-client-hosts hosts: taskotron-dev-client-hosts:taskotron-stg-client-hosts:taskotron-prod-client-hosts
@ -67,6 +67,6 @@
- { role: taskotron/buildslave-configure, tags: ['buildslaveconfigure'] } - { role: taskotron/buildslave-configure, tags: ['buildslaveconfigure'] }
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

View file

@ -36,7 +36,7 @@
- include_tasks: "{{ tasks_path }}/motd.yml" - include_tasks: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: configure taskotron master - name: configure taskotron master
hosts: taskotron-dev:taskotron-stg:taskotron-prod hosts: taskotron-dev:taskotron-stg:taskotron-prod
@ -61,7 +61,7 @@
- { role: taskotron/taskotron-master, tags: ['taskotronmaster'] } - { role: taskotron/taskotron-master, tags: ['taskotronmaster'] }
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"
- name: configure standalone taskotron host - name: configure standalone taskotron host
hosts: taskotron-dev hosts: taskotron-dev
@ -78,4 +78,4 @@
- { role: taskotron/ssl-taskotron, tags: ['ssltaskotron'] } - { role: taskotron/ssl-taskotron, tags: ['ssltaskotron'] }
handlers: handlers:
- include_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handllers_path }}/restart_services.yml"

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