Arensb.Truenas Release Notes

v1.11.5

Release Summary

Bug fix.

Bugfixes

  • Typo in command-line option for ‘midclt’, which prevented it from launching jobs.

v1.11.4

Release Summary

Small changes to make the filesystem module easier to work with.

Minor Changes

  • Accept lower-case versions of the ‘type’ argument.

  • The ‘volsize’ parameter takes a human-friendly size string like ‘64MB’.

  • filesystem: create_ancestors doesn’t work in TrueNAS CORE. Ignore it, for compatibility.

Bugfixes

  • filesystem: Fix docstring to parse as valid YAML.

v1.11.0

Major Changes

  • filesystem: Fill in the missing options.

  • filesystem: Major rewrite.

v1.10.1

Release Summary

Fix setup failing due to differences between TrueNAS CORE and SCALE.

Minor Changes

  • Better tolerance for error in setup. If some fact isn’t defined, try to carry on.

Bugfixes

  • Better error-handling. Try to recognize when the caller has invoked a nonexistent function, as opposed to some other error.

v1.10.0

Minor Changes

  • Added initscript module, to manage init/shutdown scripts.

New Modules

  • arensb.truenas.initscript - Manage init/shutdown scripts.

v1.9.5

Release Summary

bug fix

Bugfixes

  • The pool_scrub_task module would crash when invoked with a nonexistent pool name. Fix contributed by bmarinov.

v1.9.4

Release Summary

Bug fixes.

Bugfixes

  • Error setting NFS export read-only flag.

  • Error setting ZFS filesystem description.

v1.9.3

Release Summary

Bug fix for read-only NFS exports.

Bugfixes

  • There was a bug preventing people from exporting NFS filesystems read-only. This is fixed. Patch submitted by Steve Ellis.

v1.9.2

Release Summary

Support NFSv4 under TrueNAS SCALE

Bugfixes

  • TrueNAS CORE and SCALE have different flags for NFS versions 3 and 4. SCALE allows turning each one on and off independently. CORE only supports this for v4. This change updates the nfs module to enable each protocol separately, where possible.

v1.9.1

Release Summary

Bug fix.

Major Changes

  • Add user “smb” parameter to control SMB access.

Bugfixes

  • TrueNAS SCALE doesn’t allow enabling SMB access on users without a password. ‘smb’ used to default to true, which prevented creating users with password disabled. The ‘smb’ argument can now be set explicitly.

v1.9.0

Major Changes

  • Added the jail_fstab module, to manage filesystems in jails.

Minor Changes

  • Expand documentation. Include some more common use cases.

Bugfixes

  • plugin module: Wait until plugin has finished installing before returning.

New Modules

  • arensb.truenas.jail_fstab - Manage a jail’s fstab

v1.8.1

Release Summary

Mostly bug fixes.

Minor Changes

  • Fix documentation.

Bugfixes

  • plugin result wasn’t always being returned.

v1.8.0

Release Summary

Added several new modules.

Minor Changes

  • Added the pool_scrub_task plugin, to schedule zfs pool scrub tasks.

  • Added the smart_test_task plugin, to schedule S.M.A.R.T. disk tests.

  • Added the smart plugin, to manage the S.M.A.R.T. service.

New Modules

  • arensb.truenas.pool_scrub_task - Schedule periodic scrub of ZFS pools.

  • arensb.truenas.smart - Configure S.M.A.R.T. service

  • arensb.truenas.smart_test_task - Schedule S.M.A.R.T. tests

v1.7.2

Minor Changes

  • Flesh out instructions for building a release.

Bugfixes

  • Remove an unneeded, undocumented, and confusing result value.

v1.7.1

Bugfixes

  • In ‘service’, services weren’t actually being enabled/disabled, or started/stopped.

v1.7.0

Major Changes

  • Add the ‘truenas_facts’ module, for gathering Ansible facts about TrueNAS systems.

Minor Changes

  • Add C(version_added) to each module’s documentation.

  • Link to the online documentation in README.md, where it’ll be visible from both github and Ansible Galaxy.

New Modules

  • arensb.truenas.truenas_facts - Gather TrueNAS-related facts

v1.6.2

Minor Changes

  • Add auto-generated CHANGELOG.html

  • Add online documentation.

v1.6.0

Release Summary

Use native client code on the TrueNAS machine.

Major Changes

  • For now, the old behavior is still the default. To use the new behavior, set the “middleware_method” environment variable to “client”, at either the play, block, or task level, using the “environment:” Ansible directive.

  • The default behavior will be switched from “midclt” to “client” in a later version.

  • Up until now, these modules have been invoking the ‘midclt’ utility on the TrueNAS client to communicate with the middleware daemon. But that is implemented using a Python module. This release makes it possible to use that Python module directly, resulting in a significant speed improvement (as well as simpler code).

v1.5.2

v1.5.1

Release Summary

fix docstrings

Minor Changes

  • Fix formatting in docstrings, so docs should generate better now.

v1.5.0

Release Summary

add ZFS snapshot tasks

Major Changes

  • Added the C(pool_snapshot_task) module, which manages periodic snapshot tasks for ZFS volumes.

v1.4.5

Release Summary

Fix the way sudo is handled for users.

Breaking Changes / Porting Guide

  • The C(sudo) and C(sudo_nopasswd) options are deprecated.

Deprecated Features

  • In the user module, C(sudo) and C(sudo_nopasswd) options are deprecated. The C(sudo_commands) and C(sudo_commands_nopasswd) options are the preferred way to specify sudo permissions.

Bugfixes

  • user module sudo variables didn’t work with recent versions of TrueNAS SCALE.