def add_profile(project_root)
      roles = Bebox::Role.list(project_root)
      profiles = Bebox::Profile.list(project_root)
      role = choose_option(roles, _('wizard.choose_role'))
      profile = choose_option(profiles, _('wizard.role.choose_add_profile'))
      if Bebox::Role.profile_in_role?(project_root, role, profile)
        warn _('wizard.role.profile_exist')%{profile: profile, role: role}
        output = false
      else
        output = Bebox::Role.add_profile(project_root, role, profile)
        ok _('wizard.role.add_profile_success')%{profile: profile, role: role}
      end
      return output
    end
def add_profile(project_root)
      roles = Bebox::Role.list(project_root)
      profiles = Bebox::Profile.list(project_root)
      role = choose_option(roles, _('wizard.choose_role'))
      profile = choose_option(profiles, _('wizard.role.choose_add_profile'))
      if Bebox::Role.profile_in_role?(project_root, role, profile)
        warn _('wizard.role.profile_exist')%{profile: profile, role: role}
        output = false
      else
        output = Bebox::Role.add_profile(project_root, role, profile)
        ok _('wizard.role.add_profile_success')%{profile: profile, role: role}
      end
      return output
    end
Add a profile to a role