From 31180a8d66bed7ab3902a43a3efa85cda876356b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavi=20Lle=C3=B3=20Tom=C3=A1s?= Date: Tue, 26 Nov 2024 12:54:55 +0100 Subject: [PATCH] Refs #8141: Time Server Deploy - finish role --- playbooks/services.yml | 10 ++++------ roles/services/tasks/timeserver.yml | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/playbooks/services.yml b/playbooks/services.yml index 0253201..cf219b7 100644 --- a/playbooks/services.yml +++ b/playbooks/services.yml @@ -1,9 +1,7 @@ - name: Configure Directory, Time, and Database Services hosts: all tasks: - - import_role: - name: ldap_samba - - import_role: - name: timeserver - - import_role: - name: database + - name: Configure services to install in the server + import_role: + name: services + diff --git a/roles/services/tasks/timeserver.yml b/roles/services/tasks/timeserver.yml index 21432d1..5f3d850 100644 --- a/roles/services/tasks/timeserver.yml +++ b/roles/services/tasks/timeserver.yml @@ -1,9 +1,9 @@ -- name: Install NRPE packages +- name: Install CHRONY packages apt: name: chrony state: present install_recommends: no -- name: Set NRPE generic configuration +- name: Set CHRONY generic configuration template: src: timeserver_custom.conf dest: /etc/chrony/conf.d/custom.conf