Repos with recipes to deploy some infrastructure services
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

19 řádky
535 B

  1. ---
  2. # The sleep in the restart "PowerDNS Recursor handler"
  3. # is needed to make sure to start correctly the service
  4. # after stopping it during restarts
  5. - name: restart PowerDNS Recursor
  6. service:
  7. name: "{{ pdns_rec_service_name }}"
  8. state: restarted
  9. sleep: 1
  10. when: pdns_rec_service_state != 'stopped' and
  11. not pdns_rec_disable_handlers
  12. - name: reload systemd and restart PowerDNS Recursor
  13. command: systemctl daemon-reload
  14. notify: restart PowerDNS Recursor
  15. when: not pdns_rec_disable_handlers