Add ZYPP_LOCK_TIMEOUT environment example (#20130)

Retries to require lock for zypper operation.
pull/4420/head
Robin Roth 2017-01-11 19:30:18 +01:00 committed by John R Barker
parent 110753502e
commit e4bfc2b84c
1 changed files with 8 additions and 1 deletions

View File

@ -168,7 +168,14 @@ EXAMPLES = '''
# Install specific version (possible comparisons: <, >, <=, >=, =)
- zypper:
name: 'docker>=1.10'
state: installed
state: present
# Wait 20 seconds to acquire the lock before failing
- zypper:
name: mosh
state: present
environment:
ZYPP_LOCK_TIMEOUT: 20
'''