Ayr United are facing the prospect of playing Rangers B in the SPFL Trust Trophy.
Both Ayr and local rivals Kilmarnock found out their potential opponents in today's draw.
Should Rangers B beat League One Dumbarton, then they'll take on David Hopkin's men.
Killie will be at home to either Falkirk or this Saturday's Premier Sports Cup opponents East Kilbride.
The Rugby Park club are playing in what has traditionally been known as the Challenge Cup for the first time following their relegation from the Premiership in May.
Second-round ties will be played on the weekend of Saturday, September 4.
Second round draw in full...
North
Montrose v Ross County B/Stirling Albion
Brora Rangers/Aberdeen v Arbroath
Cove Rangers v Stenhousemuir/Dundee United B
Fraserburgh/Cowdenbeath v Alloa Athletic
Raith Rovers v Forfar Athletic/Fortmartine United
Hibs B/Elgin City v Dunfermline Athletic
Inverness v Brechin City/Buckie Thistle
Dundee B/Peterhead v East Fife/St Johnstone B
South
Airdrieonians v Queen's Park/Bonnyrigg Rose
Celtic B/Annan Athletic v Morton
Dumbarton/Rangers B v Ayr United
Kilmarnock v Falkirk/East Kilbride
Hamilton Accies v Edinburgh City/Hearts B
Stranraer/Motherwell B v Partick Thistle
Queen of the South v Broomhill SC/Clyde
Livingston B/Albion Rovers v St Mirren B/Kelty Hearts
Don't miss the latest Ayrshire headlines – sign up to our free daily newsletter here