Project

General

Profile

Actions

Task #10825

closed

Refactor the ansible roles and playbooks to remove some complexity

Added by Andrea Dell'Amico over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
System Application
Start date:
Jan 04, 2018
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Development, Pre-Production, Production

Description

What I want to achieve:

  • Add roles dependencies to the roles themselves, without relying on booleans to activate (or not) a role execution
  • Explicitly add roles dependencies that are mandatory (example: smartgears is needed by the smartexecutor, and the smartexecutor is needed by its plugins)
  • Use variables directories in the roles configuration to set variables that are mandatory for a role (example: a data transfer plugin must set to True the boolean that says that we want data transfer enabled)
  • Add subroles to postgres and mysql to only manage the database installation. With them in place we can move the db data inside the roles that need that information without the need to duplicate it.
Actions #1

Updated by Andrea Dell'Amico over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

The refactoring is complete for all the main roles and playbooks.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)