# Handlers for "letsencrypt update {{ key }}" events # # Note that because Ansible requires every called handler to have a # listener, every host will need to provide a handler somehow. # # NOTE(ianw): as at 04/2019 it seems that something like # # listen: letsencrypt updated letsencrypt01-main-service # # doesn't actually register the handler. - name: letsencrypt updated graphite01-main include_tasks: roles/letsencrypt-create-certs/handlers/touch_file.yaml vars: touch_file: '/tmp/letsencrypt-graphite01-main.stamp' - name: letsencrypt updated tarballs-main import_tasks: restart_apache.yaml - name: letsencrypt updated logs-main import_tasks: restart_apache.yaml # Mirrors - name: letsencrypt updated mirror01-dfw-rax-main include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml - name: letsencrypt updated mirror01-iad-rax-main include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml - name: letsencrypt updated mirror01-ord-rax-main include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml - name: letsencrypt updated mirror01-gra1-ovh-main include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml - name: letsencrypt updated mirror01-regionone-fortnebula-main include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml # Gate testing hosts: - name: letsencrypt updated letsencrypt01-main-service include_tasks: roles/letsencrypt-create-certs/handlers/touch_file.yaml vars: touch_file: '/tmp/letsencrypt01-main-service.stamp' - name: letsencrypt updated letsencrypt01-other-service include_tasks: roles/letsencrypt-create-certs/handlers/touch_file.yaml vars: touch_file: '/tmp/letsencrypt01-other-service.stamp' - name: letsencrypt updated letsencrypt02-main-service include_tasks: roles/letsencrypt-create-certs/handlers/touch_file.yaml vars: touch_file: '/tmp/letsencrypt02-main-service.stamp' - name: letsencrypt updated mirror01-openafs-provider-opendev-org-main include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml