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-118 Remove handlers that use parametrised names
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
    Not determined
  • Targetted for
    2.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
    2 hours
  • Time spent
    1 hour
    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

A number of currently implemented roles use parametrised handler names, which technically does not work properly in case of Ansible 1.9.x, and in case of Ansible 2.x at all. The reason this was used is in order to support reusable roles that want to be able to restart individual services.

Since this approach is no longer possible, it would be necessary to get rid of those handlers, and ensure the services are restarted in some other way.

The following should be done:

  • Update role wsgi_website.
  • Remove parametrised handler for restarting the service, and replace it with appropriate equivalent.
  • Handler might need to be replaced either with a conditional task, or maybe a list of services to restart could be assembled instead for being taken care of by a single handler.
  • Update documentation if it mentions at any point handler for restarting the service.
Todos (0 / 0)
There are no comments