Repos with recipes to deploy some infrastructure services
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- ---
-
- # The sleep in the restart "PowerDNS Recursor handler"
- # is needed to make sure to start correctly the service
- # after stopping it during restarts
-
- - name: restart PowerDNS Recursor
- service:
- name: "{{ pdns_rec_service_name }}"
- state: restarted
- sleep: 1
- when: pdns_rec_service_state != 'stopped' and
- not pdns_rec_disable_handlers
-
- - name: reload systemd and restart PowerDNS Recursor
- command: systemctl daemon-reload
- notify: restart PowerDNS Recursor
- when: not pdns_rec_disable_handlers
|