Majic Projects
Majic Ansible Roles
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png Majic Ansible Roles / Closed Task MAR-218 Upgrade to Ansible 10
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Task
  • Category
    Tests
  • Targetted for
    9.0.0
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    24 hours
  • Time spent
    22 hours
    Click here to see time logged against this issue
Issue details
  • Resolution
    RESOLVED
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

Majic Ansible Roles are currently written and tested for use with an extremely old version of Ansible (2.9.x). This brings the following problems with it:

  • Ansible version is no longer maintained/supported.
  • Outdated modules.
  • Lack of many convenient modules and options.
  • More and more packages are becoming harder to install due to Python version they are intended for being very old.

In order to ensure the roles are maintainable in the long run, it is necessary to bring port the roles to latest supported version of Ansible.

The following should be done:

  • Switch to using Ansible 10.x series.
  • Upgrade project requirements related to testing.
  • Update the test framework and role tests.
    • Switch to latest available version of Molecule.
    • Upgrade test framework configuration files.
    • Update the test runner script to accommodate running the linting checks separately (recent versions of Molecule have dropped the support/command used for running linters). Cover the following linters: flake8 (for tests) and yamllint/ansible-lint (for Ansible files).
  • Update all roles as necessary to make them compatible with Ansible 10.x.
  • Update tests for all roles as required.
  • Thoroughly test all roles, ensuring everything runs as expected.
  • Update the test site configuration and roles to make them compatible with Ansible 10.x.
  • Update development instructions.
  • Update role reference documentation.
  • Update usage instructions.
  • Update release noets.
Todos (0 / 0)
Issue created