distribution: ignore plesk-release file while parsing (#64665)

/etc/plesk-release file is now ignored while parsing distribution
release.

Fixes: #64101

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2019-11-19 01:35:23 +05:30 committed by Sam Doran
parent 2749090bc6
commit d5fd588b34
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- Ignore plesk-release file while parsing distribution release (https://github.com/ansible/ansible/issues/64101).

View file

@ -94,7 +94,9 @@ _DISTRO_RELEASE_IGNORE_BASENAMES = (
'lsb-release',
'oem-release',
_OS_RELEASE_BASENAME,
'system-release'
'system-release',
# Fixed in upstream via https://github.com/nir0s/distro/pull/246
'plesk-release'
)