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 / Open Enhancement MAR-207 Improve consistency by running/applying handlers immediatelly where appropriate
Go to the next issue (open or closed)
Go to the next open issue
Issue basics
  • Type of issue
    Enhancement
  • Category
    General
  • Targetted for
    Not determined
  • Status
    New
  • 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
    No time spent
    Click here to see time logged against this issue
Issue details
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

A number of handlers that are run, particularly within the common role, can affect certain properties of subsequent tasks.

For example, changes made to UMASK configuration via pam_umask can produce different results depending on whether some tasks get run as part of the same playbook when the change has not yet been applied via handler, of if they are run subsequently.

This has particularly happened with some test cases where the file/directory permissions would flap between 0640 and 0644 depending on when the PAM configuration handler was run.

While this particular handler has been "fixed" in current code base, there may be other parts in the roles that require similar treatment.

The following should be done:

  • Revisit all handlers and figure out if any of them should be triggered immediately in order to have properly consistent system state for subsequent tasks.
  • Update role reference documentation.
  • Update usage instructions.
  • Update release notes.
Todos (0 / 0)
There are no comments