From 577aeea3f338d0ec6b9d08f698af1f90c65de991 Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Mon, 29 Aug 2022 10:10:20 +0200
Subject: [PATCH] ipaserver: ipaclient part does not need to install packages

The client part installation is checking for the client packages. These
packages are part of the server packages that have been installed with
the server role and therefore the task is not needed.

This is helping to reduce the deployment time of a server.
---
 roles/ipaserver/tasks/install.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/ipaserver/tasks/install.yml b/roles/ipaserver/tasks/install.yml
index 70ca4b6d..ad135d1a 100644
--- a/roles/ipaserver/tasks/install.yml
+++ b/roles/ipaserver/tasks/install.yml
@@ -428,7 +428,7 @@
         ipaclient_no_ntp:
           "{{ 'true' if result_ipaserver_test.ipa_python_version >= 40690
                else 'false' }}"
-        ipaclient_install_packages: "{{ ipaserver_install_packages }}"
+        ipaclient_install_packages: no
 
     - name: Install - Enable IPA
       ipaserver_enable_ipa:
-- 
GitLab