System configuration for OpenStack Infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

246 lines
10 KiB

  1. # Handlers for "letsencrypt update {{ key }}" events
  2. #
  3. # Note that because Ansible requires every called handler to have a
  4. # listener, every host will need to provide a handler somehow.
  5. #
  6. # NOTE(ianw): as at 04/2019 it seems that something like
  7. # listen: letsencrypt updated letsencrypt01-main-service
  8. # doesn't actually register the handler.
  9. #
  10. # NOTE: import_tasks or include can not be used in handlers
  11. # ("include_tasks" is okay).
  12. # https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.8.html#imports-as-handlers
  13. - name: letsencrypt updated graphite01-main
  14. include_tasks: roles/letsencrypt-create-certs/handlers/restart_graphite.yaml
  15. - name: letsencrypt updated graphite02-main
  16. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  17. - name: letsencrypt updated tarballs-main
  18. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  19. - name: letsencrypt updated zuul-ci-main
  20. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  21. - name: letsencrypt updated zuul-ci-git
  22. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  23. - name: letsencrypt updated zuul-opendev-main
  24. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  25. - name: letsencrypt updated logs-main
  26. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  27. - name: letsencrypt updated insecure-ci-registry01-main
  28. include_tasks: roles/letsencrypt-create-certs/handlers/restart_zuul_registry.yaml
  29. - name: letsencrypt updated meetpad01-main
  30. include_tasks: roles/letsencrypt-create-certs/handlers/restart_jitsi_meet.yaml
  31. # Static
  32. - name: letsencrypt updated static01-opendev-org-main
  33. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  34. - name: letsencrypt updated static01-docs-airshipit-org
  35. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  36. - name: letsencrypt updated static01-ci-openstack-org
  37. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  38. - name: letsencrypt updated static01-cinder-openstack-org
  39. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  40. - name: letsencrypt updated static01-developer-openstack-org
  41. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  42. - name: letsencrypt updated static01-devstack-org
  43. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  44. - name: letsencrypt updated static01-docs-opendev-org
  45. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  46. - name: letsencrypt updated static01-docs-openstack-org
  47. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  48. - name: letsencrypt updated static01-docs-starlingx-io
  49. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  50. - name: letsencrypt updated static01-glance-openstack-org
  51. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  52. - name: letsencrypt updated static01-git-airshipit-org
  53. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  54. - name: letsencrypt updated static01-git-starlingx-io
  55. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  56. - name: letsencrypt updated static01-git-openstack-org
  57. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  58. - name: letsencrypt updated static01-git-zuul-ci-org
  59. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  60. - name: letsencrypt updated static01-governance-openstack-org
  61. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  62. - name: letsencrypt updated static01-horizon-openstack-org
  63. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  64. - name: letsencrypt updated static01-keystone-openstack-org
  65. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  66. - name: letsencrypt updated static01-nova-openstack-org
  67. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  68. - name: letsencrypt updated static01-service-types-openstack-org
  69. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  70. - name: letsencrypt updated static01-specs-openstack-org
  71. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  72. - name: letsencrypt updated static01-security-openstack-org
  73. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  74. - name: letsencrypt updated static01-summit-openstack-org
  75. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  76. - name: letsencrypt updated static01-swift-openstack-org
  77. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  78. - name: letsencrypt updated static01-releases-openstack-org
  79. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  80. - name: letsencrypt updated static01-tarballs-opendev-org
  81. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  82. - name: letsencrypt updated static01-tarballs-openstack-org
  83. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  84. - name: letsencrypt updated static01-zuul-ci-org
  85. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  86. - name: letsencrypt updated grafana01-opendev-org-main
  87. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  88. # nodepool
  89. - name: letsencrypt updated nb01-opendev-org-main
  90. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  91. - name: letsencrypt updated nb02-opendev-org-main
  92. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  93. - name: letsencrypt updated nb04-opendev-org-main
  94. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  95. # review-dev
  96. - name: letsencrypt updated review-dev01-opendev-org-main
  97. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  98. # review
  99. - name: letsencrypt updated review01-opendev-org-main
  100. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  101. # review-test
  102. - name: letsencrypt updated review-test-opendev-org-main
  103. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  104. # Mirrors
  105. - name: letsencrypt updated mirror01-dfw-rax-main
  106. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  107. - name: letsencrypt updated mirror01-iad-rax-main
  108. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  109. - name: letsencrypt updated mirror01-ord-rax-main
  110. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  111. - name: letsencrypt updated mirror01-bhs1-ovh-main
  112. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  113. - name: letsencrypt updated mirror02-gra1-ovh-main
  114. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  115. - name: letsencrypt updated mirror01-regionone-linaro-us-main
  116. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  117. - name: letsencrypt updated mirror02-mtl01-inap-main
  118. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  119. - name: letsencrypt updated mirror01-kna1-airship-citycloud-main
  120. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  121. - name: letsencrypt updated mirror01-us-east-openedge-main
  122. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  123. - name: letsencrypt updated mirror01-sjc1-vexxhost-main
  124. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yam
  125. - name: letsencrypt updated mirror01-ca-ymq-1-vexxhost-main
  126. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  127. - name: letsencrypt updated mirror01-regionone-limestone-main
  128. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  129. # Gate testing hosts:
  130. - name: letsencrypt updated letsencrypt01-main-service
  131. include_tasks: roles/letsencrypt-create-certs/handlers/touch_file.yaml
  132. vars:
  133. touch_file: '/tmp/letsencrypt01-main-service.stamp'
  134. - name: letsencrypt updated letsencrypt01-other-service
  135. include_tasks: roles/letsencrypt-create-certs/handlers/touch_file.yaml
  136. vars:
  137. touch_file: '/tmp/letsencrypt01-other-service.stamp'
  138. - name: letsencrypt updated letsencrypt02-main-service
  139. include_tasks: roles/letsencrypt-create-certs/handlers/touch_file.yaml
  140. vars:
  141. touch_file: '/tmp/letsencrypt02-main-service.stamp'
  142. - name: letsencrypt updated mirror01-openafs-provider-opendev-org-main
  143. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  144. - name: letsencrypt updated mirror02-openafs-provider-opendev-org-main
  145. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  146. - name: letsencrypt updated gitea99-main
  147. include_tasks: roles/letsencrypt-create-certs/handlers/restart_gitea.yaml
  148. - name: letsencrypt updated nb01-test-main
  149. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  150. - name: letsencrypt updated etherpad01-opendev-org-main
  151. include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
  152. # We split out handlers for each gitea host as handlers should be run in order
  153. # This allows us to do a rolling restart of the gitea backends.
  154. - name: letsencrypt updated gitea01-main
  155. include_tasks: roles/letsencrypt-create-certs/handlers/restart_gitea.yaml
  156. - name: letsencrypt updated gitea02-main
  157. include_tasks: roles/letsencrypt-create-certs/handlers/restart_gitea.yaml
  158. - name: letsencrypt updated gitea03-main
  159. include_tasks: roles/letsencrypt-create-certs/handlers/restart_gitea.yaml
  160. - name: letsencrypt updated gitea04-main
  161. include_tasks: roles/letsencrypt-create-certs/handlers/restart_gitea.yaml
  162. - name: letsencrypt updated gitea05-main
  163. include_tasks: roles/letsencrypt-create-certs/handlers/restart_gitea.yaml
  164. - name: letsencrypt updated gitea06-main
  165. include_tasks: roles/letsencrypt-create-certs/handlers/restart_gitea.yaml
  166. - name: letsencrypt updated gitea07-main
  167. include_tasks: roles/letsencrypt-create-certs/handlers/restart_gitea.yaml
  168. - name: letsencrypt updated gitea08-main
  169. include_tasks: roles/letsencrypt-create-certs/handlers/restart_gitea.yaml