From 5cd39ae6a0f81814baf3fbca873a3d22a21328b0 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Wed, 25 Mar 2020 09:04:09 -0600 Subject: [PATCH] Disable fact gathering for create_admin The create_admin execution doesn't require facts as the tasks are static. Fact gather can be a long time on systems with large number of network interfaces or storage volumes. This can lead to timeouts when doing actions like scaling or deploying. Change-Id: I0ff270dfabab2ef6926b8d2818ef5087eb03bed9 Closes-Bug: #1869018 (cherry picked from commit 32bc45c293c3ad9e24a803dfd82042efa81efdfe) --- workbooks/access.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/workbooks/access.yaml b/workbooks/access.yaml index 5bbf46b17..7f3dcb1f9 100644 --- a/workbooks/access.yaml +++ b/workbooks/access.yaml @@ -142,6 +142,7 @@ workflows: config: | - hosts: localhost connection: local + gather_facts: false tasks: <% json_pp($.tasks) %> get_privkey: