Fix yum/dnf lock file polling (#47250)

This commit is contained in:
flowerysong 2018-10-19 14:18:09 -04:00 committed by ansibot
commit c21f92f8f7
3 changed files with 13 additions and 34 deletions

View file

@ -183,20 +183,11 @@ options:
default: "no"
type: bool
version_added: "2.7"
lock_poll:
description:
- Poll interval to wait for the yum lockfile to be freed.
- "By default this is set to -1, if you set it to a positive integer it will enable to polling"
required: false
default: -1
type: int
version_added: "2.8"
lock_timeout:
description:
- Amount of time to wait for the yum lockfile to be freed
- This should be set along with C(lock_poll) to enable the lockfile polling.
- Amount of time to wait for the yum lockfile to be freed.
required: false
default: 10
default: 0
type: int
version_added: "2.8"
notes: