From f1eae89e1899432ba1e4732dad1228b95735b767 Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Thu, 7 Nov 2024 13:34:39 +0100 Subject: [PATCH] [ipa/server] Move the files to separate line It seems that the command module in argv is adding space at the start of file name when it's not on it's own line. Signed-off-by: Michal Konecny --- roles/ipa/server/tasks/main.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/roles/ipa/server/tasks/main.yml b/roles/ipa/server/tasks/main.yml index 21efe8ccfb..14b1e24cd5 100644 --- a/roles/ipa/server/tasks/main.yml +++ b/roles/ipa/server/tasks/main.yml @@ -710,9 +710,12 @@ ansible.builtin.command: argv: - /usr/bin/ldapmodify - - -Y EXTERNAL - - -H {{ ipa_ldap_socket }} - - -f /root/ldif/{{ item }} + - -Y + - EXTERNAL + - -H + - "{{ ipa_ldap_socket }}" + - -f + - "/root/ldif/{{ item }}" with_items: - grant_anonymous_replication_view.ldif - grant_fas_sync.ldif