pyinfra v1.2 Release Notes
Release Date: 2020-10-21 // over 3 years ago-
๐ Lots of smaller bits in this release and massive improvement to the documentation.
โก๏ธ Operation & fact updates:
- ๐ Deprecate
init.*
operations, renamed to:systemd.service
,upstart.service
,launchd.service
,bsdinit.service
,sysvinit.service
,sysvinit.enable
,server.service
- โ Add
systemd.daemon_reload
operation - โ Add
files.rsync
operation - โ Add
port
anduser
arguments to allssh.*
operations - โ Add
apt_keys
fact and use inapt.key
operation - Add GPG facts:
gkg_key
,gpg_keys
andgpg_secret_keys
- Add
additional_ips
innetwork_devices
fact - โ Add
ipv4_addrs
andipv6_addrs
facts to replaceipv[46]_addresses
- Add
linux_gui
&has_gui
facts
Other bits:
- Add global
chdir
,preserve_su_env
andsu_shell
arguments - โ Add
Config.REQUIRE_PACKAGES
to check requirements befor execution - Add
host_before_connect
andhost_connect_error
state callback methods - ๐ Support multiple
--limit
CLI arguments - ๐ Allow passing an integer in
files.replace
replacement lines (@vindarel) - ๐ Use
curl
ifwget
not present inapt.key
operation - 0๏ธโฃ Completely remove use of
use_default_on_error
in facts - ๐ Many updates/tweaks to documentation + theme
- ๐ Allow functions in/as group/host data (CLI)
- ๐ Implement/use Angolia docsearch on documentation
- ๐ Deprecate