Speed up ansible facts gathering
Restrict network from gathering of unrelated facts. That can be slow on systems with complex network configurations. Change-Id: I2c58e5c1175ea9d77136c45fd58109bdacda8cef Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
parent
d33cb5488a
commit
cb6a79ccc4
|
@ -54,6 +54,8 @@
|
|||
- name: Refresh hardware facts
|
||||
setup:
|
||||
gather_subset:
|
||||
- '!all'
|
||||
- '!min'
|
||||
- hardware
|
||||
|
||||
- name: Un-mount docker directories
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
- name: Collect only facts returned by facter
|
||||
setup:
|
||||
gather_subset:
|
||||
- '!all'
|
||||
- '!any'
|
||||
- network
|
||||
|
||||
# NOTE(cloudnull): In the future, we could potentially revisit this once the Heat
|
||||
|
|
Loading…
Reference in New Issue