Spain was cash strapped, the economy, agriculture was wrecked by the Civil War, that's why he never entered the war on the German side, plus Admiral Canaris's advice.
Spain had also already lost between 500,000 and 2,000,000 lives during the Civil War (depending on whose numbers you believe), so I think they had already 'done their bit' in the war against Communism etc.