Merge "Speed up ansible facts gathering"
This commit is contained in:
commit
313d8125cb
|
@ -616,6 +616,7 @@ outputs:
|
|||
setup:
|
||||
gather_subset:
|
||||
- '!all'
|
||||
- '!min'
|
||||
- 'hardware'
|
||||
when: swift_raw_disks
|
||||
- name: Mount devices defined in SwiftRawDisks
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue