I'm automating my customary debian setup using ansible.
The playbook is supposed to treat testing/unstable and stable differently: the former are to be maintained "clean", while the latte is to receive kernel etc. from Backports.
As there's now stable-backports this requires that I retrieve the current stable name from an authoritative source and check it against the expected (currently "wheezy").
Can anyone think of a reliable/authoritative way to retrieve the current stable name in a one liner?
Sincerely, Joh