Applying the action of the tasks correctly so the configuration happens before the task is executed.