namespace :organisations do
  desc "Fetch organisations from Whitehall"
  task fetch: :environment do
    with_lock('signon:organisations:fetch') do
      OrganisationsFetcher.new.call
    end
  end
end
