mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
0971a342d8
NOTE: 1. use os.open() with os.O_CREAT|os.O_EXCL to check existence and create a lock file if not exists, it's an atomic operation 2. the fastest process will create the lock file and others will wait until the lock file is removed 3. after the writer finished writing to the password file, all the reading operations use built-in open so processes can read the file parallel |
||
---|---|---|
.. | ||
action | ||
cache | ||
callback | ||
cliconf | ||
connection | ||
filter | ||
inventory | ||
loader_fixtures | ||
lookup | ||
shell | ||
strategy | ||
terminal | ||
vars | ||
__init__.py | ||
test_plugins.py |