refs #8553 - move role to root path

This commit is contained in:
Xavi Lleó 2025-03-04 10:55:16 +01:00
parent ae891d4d89
commit b5ff967065
9 changed files with 14 additions and 6 deletions

6
playbooks/dhcp.yml Normal file
View File

@ -0,0 +1,6 @@
- name: Configure DHCP
hosts: all
tasks:
- name: Configure services to install in the server
import_role:
name: dhcp

View File

@ -0,0 +1,4 @@
- name: restart-dhcp
systemd:
name: isc-dhcp-server
state: restarted

View File

@ -0,0 +1,3 @@
- import_tasks: dhcp.yml
tags: dhcp

View File

@ -5,7 +5,3 @@
- name: reload-systemd
command:
cmd: systemctl daemon-reload
- name: restart-dhcp
systemd:
name: isc-dhcp-server
state: restarted

View File

@ -2,5 +2,4 @@
tags: timeserver
- import_tasks: adsamba.yml
tags: adsamba
- import_tasks: dhcp.yml
tags: dhcp