Fix handlers, roles, and tasks to be handlers_path, roles_path and tasks_path so as not to conflict with ansible variables.

Fix duplicate definition of become default that was in group_vars/all as well as vars/global.
This commit is contained in:
Kevin Fenzi 2017-04-13 15:46:14 +00:00
parent 87a32844b1
commit 0acfaa2a7e
207 changed files with 785 additions and 788 deletions

View file

@ -265,5 +265,5 @@
# handlers: # handlers:
# - include: "{{ handlers }}/restart_services.yml" # - include: "{{ handlers_path }}/restart_services.yml"
# - include: "restart_services.yml" # - include: "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 }}/cloud_setup_basic.yml" - include: "{{ tasks_path }}/cloud_setup_basic.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -22,12 +22,12 @@
- openvpn/client - openvpn/client
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ 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 }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -26,12 +26,12 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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

@ -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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -24,11 +24,11 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- redis - redis

View file

@ -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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -27,11 +27,11 @@
when: env != "staging" when: env != "staging"
tasks: tasks:
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
- include: "{{ tasks }}/rdiff_backup_server.yml" - include: "{{ tasks_path }}/rdiff_backup_server.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -28,12 +28,12 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -39,9 +39,9 @@
interval: 10 interval: 10
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -30,9 +30,9 @@
- basset/worker - basset/worker
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -23,12 +23,12 @@
- opendkim - opendkim
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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

@ -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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -28,12 +28,12 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

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

View file

@ -74,9 +74,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 }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -41,9 +41,9 @@
- { role: fedmsg/base, when: "inventory_hostname.startswith('bodhi0')" } - { role: fedmsg/base, when: "inventory_hostname.startswith('bodhi0')" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -25,12 +25,12 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -26,12 +26,12 @@
- fedmsg/base - fedmsg/base
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/osbs_certs.yml" - include: "{{ tasks_path }}/osbs_certs.yml"
roles: roles:
- base - base
@ -29,13 +29,13 @@
service: compile service: compile
tasks: tasks:
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
when: not inventory_hostname.startswith('bkernel') when: not inventory_hostname.startswith('bkernel')
- include: "{{ tasks }}/motd.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -43,9 +43,9 @@
when: env == "staging" when: env == "staging"
tasks: tasks:
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
when: not inventory_hostname.startswith('bkernel') when: not inventory_hostname.startswith('bkernel')
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
when: not inventory_hostname.startswith('bkernel') when: not inventory_hostname.startswith('bkernel')
- name: make sure httpd is running - name: make sure httpd is running
@ -55,7 +55,7 @@
service: name=kojid state=started enabled=yes service: name=kojid state=started enabled=yes
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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
@ -70,8 +70,8 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks: pre_tasks:
- include: "{{ tasks }}/osbs_certs.yml" - include: "{{ tasks_path }}/osbs_certs.yml"
- include: "{{ tasks }}/osbs_repos.yml" - include: "{{ tasks_path }}/osbs_repos.yml"
roles: roles:
- { - {
@ -140,4 +140,4 @@
} }
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -23,12 +23,12 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/persistent_cloud.yml" - include: "{{ 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,7 +21,7 @@
- /srv/private/ansible/vars.yml - /srv/private/ansible/vars.yml
tasks: tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml" - include: "{{ 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="{{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 }}/persistent_cloud.yml" - include: "{{ 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,7 +21,7 @@
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
tasks: tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml" - include: "{{ 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="{{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 }}/persistent_cloud.yml" - include: "{{ 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,7 +21,7 @@
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
tasks: tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml" - include: "{{ 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="{{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 }}/persistent_cloud.yml" - include: "{{ tasks_path }}/persistent_cloud.yml"
- name: gather facts - name: gather facts
setup: setup:
check_mode: no check_mode: no
@ -29,7 +29,7 @@
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
tasks: tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml" - include: "{{ 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="{{copr_hostbase}}.cloud.fedoraproject.org" hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"

View file

@ -31,12 +31,12 @@
- role: apache - role: apache
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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
@ -71,4 +71,4 @@
process: fedmsg-hub process: fedmsg-hub
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -31,10 +31,10 @@
- darkserver/web - darkserver/web
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

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

View file

@ -27,12 +27,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" # - include: "{{ 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 }}/restart_services.yml" # - include: "{{ handlers_path }}/restart_services.yml"

View file

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

View file

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

View file

@ -24,12 +24,12 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_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: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -24,12 +24,12 @@
- collectd/base - collectd/base
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -30,9 +30,9 @@
- { role: openvpn/client, when: env != "staging" } - { role: openvpn/client, when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -30,9 +30,9 @@
#- { role: openvpn/client, when: env != "staging" } #- { role: openvpn/client, when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -28,12 +28,12 @@
# when: env != "staging" } # when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -24,12 +24,12 @@
- collectd/base - collectd/base
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -29,12 +29,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- github2fedmsg - github2fedmsg

View file

@ -25,9 +25,9 @@
nfs_src_dir: 'gnome_backups' } nfs_src_dir: 'gnome_backups' }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

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

View file

@ -32,12 +32,12 @@
# when: env != "staging" } # when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

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

View file

@ -23,12 +23,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -40,12 +40,12 @@
when: env == "production" when: env == "production"
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/persistent_cloud.yml" - include: "{{ 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 }}/cloud_setup_basic.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/persistent_cloud.yml" - include: "{{ 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 }}/cloud_setup_basic.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ 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 }}/growroot_cloud.yml" # - include: "{{ tasks_path }}/growroot_cloud.yml"
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -29,12 +29,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- kerneltest - kerneltest

View file

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

View file

@ -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 }}/osbs_certs.yml" - include: "{{ tasks_path }}/osbs_certs.yml"
- include: "{{ tasks }}/osbs_repos.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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

@ -32,9 +32,9 @@
- role: varnish - role: varnish
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -31,8 +31,8 @@
- fedmsg/base - fedmsg/base
tasks: tasks:
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -24,9 +24,9 @@
- koschei/frontend - koschei/frontend
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -31,9 +31,9 @@
when: env == "production" when: env == "production"
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -24,11 +24,11 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
- name: Deploy and configure loopabull - name: Deploy and configure loopabull
hosts: loopabull-stg hosts: loopabull-stg

View file

@ -29,12 +29,12 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/persistent_cloud.yml" - include: "{{ 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 }}/cloud_setup_basic.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ 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 }}/motd.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -27,11 +27,11 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
# TODO: add iscsi task # TODO: add iscsi task
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -24,11 +24,11 @@
- collectd/base - collectd/base
tasks: tasks:
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -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 }}/yumrepos.yml" - include: "{{ 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 }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

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

View file

@ -91,10 +91,10 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -27,12 +27,12 @@
- { role: openvpn/client, when: env != "staging" } - { role: openvpn/client, when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -32,11 +32,11 @@
host: "nagios{{env_suffix}}.fedoraproject.org" host: "nagios{{env_suffix}}.fedoraproject.org"
tasks: tasks:
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
- name: deploy nagios service config - name: deploy nagios service config
hosts: nagios-new hosts: nagios-new
@ -50,7 +50,7 @@
- "/srv/web/infra/ansible/vars/nagios.{{ inventory_hostname_short }}.yml" - "/srv/web/infra/ansible/vars/nagios.{{ inventory_hostname_short }}.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- nagios_server - nagios_server

View file

@ -30,12 +30,12 @@
when: env == "production" when: env == "production"
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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
@ -49,7 +49,7 @@
- "/srv/web/infra/ansible/vars/nagios.{{ inventory_hostname_short }}.yml" - "/srv/web/infra/ansible/vars/nagios.{{ inventory_hostname_short }}.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- { role: dhcp_server, when: datacenter == 'phx2' } - { role: dhcp_server, when: datacenter == 'phx2' }

View file

@ -30,12 +30,12 @@
# when: env != "staging" } # when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -30,9 +30,9 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -28,12 +28,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

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

View file

@ -23,12 +23,12 @@
- apache - apache
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

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

View file

@ -23,12 +23,12 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
- name: OSBS control hosts pre-req setup - name: OSBS control hosts pre-req setup
hosts: osbs-control:osbs-control-stg hosts: osbs-control:osbs-control-stg

View file

@ -29,12 +29,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster server on prod - name: set up gluster server on prod
hosts: packages hosts: packages
@ -56,7 +56,7 @@
datadir: /srv/glusterfs/packages datadir: /srv/glusterfs/packages
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
- name: set up gluster client on prod - name: set up gluster client on prod
hosts: packages hosts: packages
@ -82,7 +82,7 @@
mountdir: /var/cache/fedoracommunity mountdir: /var/cache/fedoracommunity
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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
@ -101,4 +101,4 @@
process: fedmsg-hub process: fedmsg-hub
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -22,12 +22,12 @@
- postgresql_server - postgresql_server
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -25,9 +25,9 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_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: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- base - base
@ -23,9 +23,9 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- fedmsg/base - fedmsg/base

View file

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

View file

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

View file

@ -27,12 +27,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -44,12 +44,12 @@
- { role: distgit/pagure, when: env == "staging" and inventory_hostname.startswith('pkgs01') } - { role: distgit/pagure, when: env == "staging" and inventory_hostname.startswith('pkgs01') }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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
@ -67,4 +67,4 @@
- fedmsg/hub - fedmsg/hub
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -29,11 +29,11 @@
- postgresql_server_bdr - postgresql_server_bdr
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
# TODO: add iscsi task # TODO: add iscsi task
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -29,11 +29,11 @@
- { 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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
# TODO: add iscsi task # TODO: add iscsi task
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -46,18 +46,18 @@
state=link state=link
when: inventory_hostname == 'proxy01.phx2.fedoraproject.org' when: inventory_hostname == 'proxy01.phx2.fedoraproject.org'
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
# You might think we would want these tasks 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 }}/apache.yml" #- include: "{{ tasks_path }}/apache.yml"
#- include: "{{ tasks }}/mod_wsgi.yml" #- include: "{{ tasks_path }}/mod_wsgi.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
# TODO # TODO
@ -89,7 +89,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
pre_tasks: pre_tasks:
# #
@ -179,7 +179,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
pre_tasks: pre_tasks:
# #

View file

@ -28,15 +28,15 @@
- apache - apache
pre_tasks: pre_tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
- name: configure qa uildbot CI - name: configure qa uildbot CI
@ -74,7 +74,7 @@
- { role: taskotron/buildslave-configure, tags: ['buildslaveconfig'] } - { role: taskotron/buildslave-configure, tags: ['buildslaveconfig'] }
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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
@ -113,6 +113,6 @@
when: deployment_type != "qa-stg", tags: ['imagefactoryclient'] } when: deployment_type != "qa-stg", tags: ['imagefactoryclient'] }
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -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 }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
roles: roles:
- base - base
@ -67,8 +67,8 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -28,12 +28,12 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ 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 }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -29,12 +29,12 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
- name: configure resultsdb production - name: configure resultsdb production
hosts: resultsdb-prod hosts: resultsdb-prod
@ -53,5 +53,5 @@
- { role: taskotron/execdb, tags: ['execdb'] } - { role: taskotron/execdb, tags: ['execdb'] }
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -28,12 +28,12 @@
tasks: tasks:
# this is how you include other task lists # this is how you include other task lists
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
- name: configure resultsdb - name: configure resultsdb
hosts: resultsdb-stg hosts: resultsdb-stg
@ -52,5 +52,5 @@
- { role: taskotron/execdb, tags: ['execdb'] } - { role: taskotron/execdb, tags: ['execdb'] }
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -20,12 +20,12 @@
- fedmsg/base - fedmsg/base
tasks: tasks:
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
- name: setup FAF server - name: setup FAF server
hosts: retrace:faf-stg hosts: retrace:faf-stg

View file

@ -47,9 +47,9 @@
- archive.fedoraproject.org - archive.fedoraproject.org
- archives.fedoraproject.org - archives.fedoraproject.org
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
- name: Install some misc packages needed for various tasks - name: Install some misc packages needed for various tasks
yum: pkg={{ item }} state=present yum: pkg={{ item }} state=present
@ -71,4 +71,4 @@
cron_file=update-fullfiletimelist cron_file=update-fullfiletimelist
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -31,9 +31,9 @@
owner_group: sigul owner_group: sigul
tasks: tasks:
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -24,9 +24,9 @@
when: env != "staging" } when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_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: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- base - base
@ -27,9 +27,9 @@
- sudo - sudo
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
- name: Stuff just for the web frontend - name: Stuff just for the web frontend
hosts: statscache-web:statscache-web-stg hosts: statscache-web:statscache-web-stg
@ -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: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_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: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"
roles: roles:
- fedmsg/hub - fedmsg/hub

View file

@ -29,12 +29,12 @@
# when: env != "staging" } # when: env != "staging" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_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: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_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: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -53,9 +53,9 @@
when: master_sundries_node when: master_sundries_node
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -29,12 +29,12 @@
- mod_wsgi - mod_wsgi
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_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: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_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: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

View file

@ -26,12 +26,12 @@
- { role: openvpn/client, when: datacenter != "phx2" } - { role: openvpn/client, when: datacenter != "phx2" }
tasks: tasks:
- include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml" - include: "{{ tasks_path }}/motd.yml"
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_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
@ -47,7 +47,7 @@
- { role: taskotron/imagefactory, tags: ['taskotronimagefactory'] } - { role: taskotron/imagefactory, tags: ['taskotronimagefactory'] }
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_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
@ -66,6 +66,6 @@
- { role: taskotron/buildslave-configure, tags: ['buildslaveconfigure'] } - { role: taskotron/buildslave-configure, tags: ['buildslaveconfigure'] }
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers_path }}/restart_services.yml"

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