Closed arbitrix closed 7 years ago
Since this issue is propping up pretty consistently, I'll reoder the values to have ansible_lsb.id
tried as the first one. It shouldn't affect other platforms supported by the project (Debian, Ubuntu).
Thank you.
@arbitrix Does it work as expected now? I don't have a Raspbian to test it with...
@drybjed I will bootstrap one and report back.
DebOps sets
core__distribution
to Debian instead of Raspbian when run on Raspbian. This causes debops.common to fail because of an incorrect/etc/apt/sources.list
.On today's Raspbian
ansible_lsb.id="Raspbian"
butansible_distribution="Debian"
.On Ubuntu 16.04
ansible_lsb.id="Ubuntu"
andansible_distribution="Ubuntu"
.DebOps prefers
ansible_distribution
overansible_lsb.id
as per:Would it be possible to have Raspbian autodetected by preferring
ansible_lsb.id
? Or would that break other platforms?