add gather_timeout parameter (#4093)

reviewable/pr18780/r1
jctanner 8 years ago committed by GitHub
parent 4c4a6de9d6
commit db8af4c5af

@ -37,6 +37,12 @@ options:
not want to display those." not want to display those."
required: false required: false
default: 'all' default: 'all'
gather_timeout:
version_added: "2.2"
description:
- "Set the default timeout in seconds for individual fact gathering"
required: false
default: 10
filter: filter:
version_added: "1.1" version_added: "1.1"
description: description:
@ -111,6 +117,7 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec = dict( argument_spec = dict(
gather_subset=dict(default=["all"], required=False, type='list'), gather_subset=dict(default=["all"], required=False, type='list'),
gather_timeout=dict(default=10, required=False, type='int'),
filter=dict(default="*", required=False), filter=dict(default="*", required=False),
fact_path=dict(default='/etc/ansible/facts.d', required=False), fact_path=dict(default='/etc/ansible/facts.d', required=False),
), ),

Loading…
Cancel
Save