Repos with recipes to deploy some infrastructure services
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

19 linhas
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