Repos with recipes to deploy some infrastructure services
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

14 lignes
434 B

  1. ---
  2. - name: restart PowerDNS
  3. service:
  4. name: "{{ pdns_service_name }}"
  5. state: restarted
  6. sleep: 1 # the sleep is needed to make sure the service has been
  7. when: not pdns_disable_handlers # correctly started after being stopped during restarts
  8. - name: reload systemd and restart PowerDNS
  9. command: systemctl daemon-reload
  10. notify: restart PowerDNS
  11. when: not pdns_disable_handlers