Repos with recipes to deploy some infrastructure services
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

14 rindas
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