refs #8553 - move role to root path
This commit is contained in:
parent
ae891d4d89
commit
b5ff967065
|
@ -0,0 +1,6 @@
|
||||||
|
- name: Configure DHCP
|
||||||
|
hosts: all
|
||||||
|
tasks:
|
||||||
|
- name: Configure services to install in the server
|
||||||
|
import_role:
|
||||||
|
name: dhcp
|
|
@ -0,0 +1,4 @@
|
||||||
|
- name: restart-dhcp
|
||||||
|
systemd:
|
||||||
|
name: isc-dhcp-server
|
||||||
|
state: restarted
|
|
@ -0,0 +1,3 @@
|
||||||
|
- import_tasks: dhcp.yml
|
||||||
|
tags: dhcp
|
||||||
|
|
|
@ -5,7 +5,3 @@
|
||||||
- name: reload-systemd
|
- name: reload-systemd
|
||||||
command:
|
command:
|
||||||
cmd: systemctl daemon-reload
|
cmd: systemctl daemon-reload
|
||||||
- name: restart-dhcp
|
|
||||||
systemd:
|
|
||||||
name: isc-dhcp-server
|
|
||||||
state: restarted
|
|
||||||
|
|
|
@ -2,5 +2,4 @@
|
||||||
tags: timeserver
|
tags: timeserver
|
||||||
- import_tasks: adsamba.yml
|
- import_tasks: adsamba.yml
|
||||||
tags: adsamba
|
tags: adsamba
|
||||||
- import_tasks: dhcp.yml
|
|
||||||
tags: dhcp
|
|
||||||
|
|
Loading…
Reference in New Issue