Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version v0.17.0 - CHANGELOG.md [citest skip] #202

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

richm
Copy link
Collaborator

@richm richm commented Aug 31, 2022

[v0.17.0] - 2022-08-31

New Features

  • Make drop-in config file functionality configurable by user

This PR simplifies the logic behind the drop-in config files and also
allows the user to use drop-in configs even if the distribution does not
support it out of the box.

Bug Fixes

  • Allow user to override variables

A previous commit hardcoded many variables to the values under vars/,
making it impossible for the user to parameterize things like the systemd
service name. The assumption was that the _sshd* variables were useless
in an effort to blindly adhere to best practices, but they were crucial in
allowing flexibility to the user.

  • Ensure values are cast to correct type

#188
This shouldn't be necessary, but there seems no way to
guarantee using a version of Jinja which doesn't have this
problem.

In addition - it is not good practice to compare values to
true or false - instead, just ensure the value is a bool
type and evaluate in a boolean context.

Other Changes

  • Fix various linting issues

  • Revert incorrect module name

  • tests: Do not be picky about spaces/tabs

When testing with cloud-init, it modifies the sshd_configuration and can
replace some tabs with whitespaces. This happens frequently around the
subsystem keyword. There are no functional changes, but the matching
did not work as expected.

  • Fix ansible-lint warnings

Signed-off-by: Rich Megginson rmeggins@redhat.com

CHANGELOG.md Outdated Show resolved Hide resolved
[v0.17.0] - 2022-08-31
--------------------

- Make drop-in config file functionality configurable by user

This PR simplifies the logic behind the drop-in config files and also
allows the user to use drop-in configs even if the distribution does not
support it out of the box.

- Allow user to override variables

A previous commit hardcoded many variables to the values under vars/,
making it impossible for the user to parameterize things like the systemd
service name. The assumption was that the __sshd_* variables were useless
in an effort to blindly adhere to best practices, but they were crucial in
allowing flexibility to the user.

- none
@richm
Copy link
Collaborator Author

richm commented Sep 6, 2022

ok to merge?

@mattwillsher mattwillsher merged commit e5df814 into willshersystems:master Sep 7, 2022
@mattwillsher
Copy link
Member

auto tagging failed again. I'll manual tag this and the previous release.

@mattwillsher
Copy link
Member

Released to galaxy. #203 raised for linting fixes.

@richm richm deleted the cl-20220831 branch September 7, 2022 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants