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 Feature request MAR-30 Tests for preseed role
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
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
    Feature request
  • Category
    Not determined
  • Targetted for
    1.6.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
    4 hours
  • Time spent
    3 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

Implement tests for preseed role.

The following should be done:

  • Use Molecule for automating VM provisioning and running tests.
  • Switch to using pip-tools for setting-up the development environment.
  • Introduce initial documentation describing how to run tests etc.
  • Update tasks as necessary to pass Ansible Lint checks. Introduce the skip_ansible_lint tag on relevant tasks where linting should be skipped.
  • Apply minimal fixes to issues discovered during testing.
  • When creating the tests, keep in mind the following:
    • Optional parameters should be tested.
    • Network settings generated via preseed role include two possibilities - DHCP and static. Make sure both are teted.
    • Per-host option overrides should be tested.
    • Due to relative complexity of testing the preseed files, this can be skipped for now, but documentation should clearly state this. Create a separate issue for this type of test.
    • Test both Debian Jessie and Debian Stretch (64-bit in both cases).
Todos (0 / 0)
There are no comments