1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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: <, >, <=, >=, =) # Install specific version (possible comparisons: <, >, <=, >=, =)
- zypper: - zypper:
name: 'docker>=1.10' 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
''' '''