From 7a76f73bc4f2e8edff3ff80bf348081d7272b09c Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Thu, 19 Jul 2018 14:24:59 +0200
Subject: [PATCH] ipareplica: Limit the number of concurrent executions for the
 setup of CA

There is a pull request and also a proposal for ansible be able to limit the
number of concurrent executions for a single task:

- https://github.com/ansible/proposals/issues/129
- https://github.com/ansible/ansible/pull/42528

The keyword is currently named max_concurrent, but might be renamed later
on. If the keyword is present, but not supported by ansible, it will be
simply ignored. Therefore there is no issue right now with adding in here
early.
---
 roles/ipareplica/tasks/install.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/ipareplica/tasks/install.yml b/roles/ipareplica/tasks/install.yml
index 30653d96..993b3ea3 100644
--- a/roles/ipareplica/tasks/install.yml
+++ b/roles/ipareplica/tasks/install.yml
@@ -426,6 +426,7 @@
       config_ca_host_name: "{{ result_ipareplica_install_ca_certs.config_ca_host_name }}"
       config_ips: "{{ result_ipareplica_prepare.config_ips }}"
     when: result_ipareplica_prepare._ca_enabled
+    max_concurrent: 1
 
   - name: Install - KRB enable SSL
     ipareplica_krb_enable_ssl:
-- 
GitLab