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:
parent
110753502e
commit
e4bfc2b84c
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue