Add ZYPP_LOCK_TIMEOUT environment example (#20130)

Retries to require lock for zypper operation.
This commit is contained in:
Robin Roth
2017-01-11 19:30:18 +01:00
committed by John R Barker
parent 110753502e
commit e4bfc2b84c

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
'''