Skip to content

Version 0.0.28

Compare
Choose a tag to compare
@sbaerlocher sbaerlocher released this 18 Feb 00:34
· 32 commits to main since this release
b70bd35

What's Changed

  • GitHub Actions Workflows Updated and Enhanced:

    • Linter Workflow (.github/workflows/linter.yml):

      • Updated permissions settings to enhance security practices by restricting rights.
      • Added a new exclusion filter regex for Jinja2 templates, enhancing the specificity and relevance of linting processes.
    • Publish Workflow (.github/workflows/publish.yml):

      • Added permissions section, granting read rights necessary for the publishing process.
  • License Year Updated:

    • License File (LICENSE):
      • Updated the copyright year to 2024.
  • Lookup Plugins and Modules Enhanced:

    • Environment Files Lookup Plugin (plugins/lookup/environment_files.py):

      • Enhanced with updated header information and improved error handling mechanisms.
    • GitHub Latest Release Lookup Plugin (plugins/lookup/github_latest_release.py):

      • Updated documentation and error handling, providing clearer guidance on usage and more informative error messages.
  • APT Update Info Module Improved (plugins/modules/apt_update_info.py):

    • Revised the module for better performance and error handling.
  • Reboot Info Module Updated (plugins/modules/reboot_info.py):

    • Updated to more accurately determine the need for a system reboot after updates or system changes.
  • Systemd Service Tasks Optimized:

    • Enhanced systemd service management tasks to provide more reliable service start and stop operations.
  • Error Handling and Documentation Links Fixed:

    • Improved error handling and corrected documentation links across various roles and modules.
  • New Role for MOTD Configuration Introduced:

    • Message of the Day Role Defaults (roles/motd/defaults/main.yml):

      • Introduced comprehensive default variables for configuring the MOTD, offering a highly customizable setup.
    • MOTD Role Argument Specifications (roles/motd/meta/argument_specs.yml):

      • Created argument specifications to enhance role clarity and usage documentation.
    • MOTD Meta Information (roles/motd/meta/main.yml):

      • Defined meta information for the MOTD role, facilitating discovery and understanding within the Ansible Galaxy community.
    • MOTD Configuration Tasks (roles/motd/tasks/main.yml):

      • Configured tasks using templates for setting up MOTD sections such as header, facts, system info, and updates available.
    • MOTD Template Files:

      • Header Template (roles/motd/templates/etc/update-motd.d/00-header.j2):
        • Provided a shell script template for the MOTD header section, allowing dynamic display of custom header text.
      • Facts Template (roles/motd/templates/etc/update-motd.d/02-facts.j2):
        • Supplied a template for displaying system facts such as FQDN, distribution info, and virtualization status.
      • System Info Template (roles/motd/templates/etc/update-motd.d/03-sysinfo.j2):
        • Offered a detailed template for system information including uptime, users, CPU/load, memory, disk space, and kernel version.
      • Updates Available Template (roles/motd/templates/etc/update-motd.d/90-updates-available.j2):
        • Provided a bash script template for showing available and security updates.
  • Systemd Journald Configuration Enhanced:

    • Default Variables Modification (roles/systemd_journald/defaults/main.yml):

      • Adjusted default variables related to runtime journal size, file count, and disk usage.
    • Argument Specification Update (roles/systemd_journald/meta/argument_specs.yml):

      • Streamlined argument specifications by removing defaults that are redundant with the system's built-in defaults.
    • Configuration Template Revision (roles/systemd_journald/templates/etc/systemd/journald.conf.j2):

      • Revised the journald configuration template to dynamically include settings based on role variables.

Full Changelog: https://github.com/your_repository/ansible_roles/compare/previous_version...new_version

Full Changelog: 0.0.27...0.0.28