From dbb0b4dff7f9e938abcc96d2da32288ef4890423 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 2 Dec 2024 12:17:59 +0100 Subject: [PATCH] Adding and using role 389ds-repl-tasks-cleanallruv. --- playbooks/disable-ldap-server.yaml | 3 ++- .../389ds-repl-tasks-cleanallruv/tasks/main.yaml | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename includes/389ds-repl-tasks-cleanallruv.yaml => roles/389ds-repl-tasks-cleanallruv/tasks/main.yaml (100%) diff --git a/playbooks/disable-ldap-server.yaml b/playbooks/disable-ldap-server.yaml index a7b2731..b89d028 100644 --- a/playbooks/disable-ldap-server.yaml +++ b/playbooks/disable-ldap-server.yaml @@ -199,7 +199,8 @@ loop: "{{ suffixes | dict2items | list }}" - name: "Clean all RUVs for Replication ID {{ target_replica_id }} on all suffixes ..." - include_tasks: '../includes/389ds-repl-tasks-cleanallruv.yaml' + include_role: + name: 389ds-repl-tasks-cleanallruv when: ldapserver_to_disable != inventory_hostname vars: suffix: "{{ item.key }}" diff --git a/includes/389ds-repl-tasks-cleanallruv.yaml b/roles/389ds-repl-tasks-cleanallruv/tasks/main.yaml similarity index 100% rename from includes/389ds-repl-tasks-cleanallruv.yaml rename to roles/389ds-repl-tasks-cleanallruv/tasks/main.yaml -- 2.39.5