commit 473db72e89242ab98a2eac0446b2b4b719fd9398 Author: Bogdan Dobrelya Date: Thu Oct 8 16:29:38 2020 +0200 Speed up ansible facts gathering Restrict network from gathering of unrelated facts. That can be slow on systems with complex network configurations. Change-Id: Iae527bbb03d01e38a6a59c61f294a3b294ffa0df Signed-off-by: Bogdan Dobrelya diff --git a/deployment/swift/swift-storage-container-puppet.yaml b/deployment/swift/swift-storage-container-puppet.yaml index 59c15d4..ed0979c 100644 --- a/deployment/swift/swift-storage-container-puppet.yaml +++ b/deployment/swift/swift-storage-container-puppet.yaml @@ -616,6 +616,7 @@ outputs: setup: gather_subset: - '!all' + - '!min' - 'hardware' when: swift_raw_disks - name: Mount devices defined in SwiftRawDisks diff --git a/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml b/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml index bb5b58d..383a4e1 100644 --- a/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml +++ b/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml @@ -104,7 +104,10 @@ outputs: upgrade_tasks: - name: Gather missing facts setup: - gather_subset: "distribution" + gather_subset: + - '!all' + - '!min' + - 'distribution' when: >- ansible_facts['distribution'] is not defined or ansible_facts['distribution_major_version'] is not defined