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 and user arguments to all ssh.* operations
    • โž• Add apt_keys fact and use in apt.key operation
    • Add GPG facts: gkg_key, gpg_keys and gpg_secret_keys
    • Add additional_ips in network_devices fact
    • โž• Add ipv4_addrs and ipv6_addrs facts to replace ipv[46]_addresses
    • Add linux_gui & has_gui facts

    Other bits:

    • Add global chdir, preserve_su_env and su_shell arguments
    • โž• Add Config.REQUIRE_PACKAGES to check requirements befor execution
    • Add host_before_connect and host_connect_error state callback methods
    • ๐Ÿ‘Œ Support multiple --limit CLI arguments
    • ๐Ÿ‘ Allow passing an integer in files.replace replacement lines (@vindarel)
    • ๐Ÿ‘‰ Use curl if wget not present in apt.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