WIP3
This commit is contained in:
7
roles/sage905.dhcp/handlers/main.yml
Normal file
7
roles/sage905.dhcp/handlers/main.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
# roles/dhcp/handlers/main.yml
|
||||
---
|
||||
|
||||
- name: restart dhcp
|
||||
service:
|
||||
name: "{{ dhcp_service }}"
|
||||
state: "{{ (dhcp_global_server_state | default('started') == 'started') | ternary('restarted', 'stopped') }}"
|
||||
Reference in New Issue
Block a user