Add ZYPP_LOCK_TIMEOUT environment example (#20130)

Retries to require lock for zypper operation.
pull/20146/head
Robin Roth 8 years ago committed by John R Barker
parent 110753502e
commit e4bfc2b84c

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

Loading…
Cancel
Save