pyinfra v2.4 Release Notes
-
Delayed getting this out, lots of little improvements.
โ Added:
- Add
server.user_authorized_keys
operation - Add global
_continue_on_error
argument - โ Add
dir_mode
argument tofiles.sync
operation (@filips123) - Copy local permissions when
mode=True
infiles.put
operation - โ Add
headers
andinsecure
arguments tofiles.download
operation
๐ Fixed:
- Get facts with host & state context (@jaysoffian)
- ๐ Fix short facts with arguments (@jaysoffian)
- ๐ Fix hang on launch of container in
lxd.container
operation (@zachwaite) - โ Run operations with host context
- ๐ Fix idempotency with uploads to a directory in
files.put
operation
Other changes:
- ๐ Fix multiple doc typos (@timgates42)
- ๐ Fix variable typo (@bouke-sf)
- ๐ Fix CLI shell autocomplete doc (@jaysoffian)
- Implement idempotency in
git.bare_repo
operation - โ Add typing to fact classes
- โ
Start testing files operations with
pathlib
objects
- Add