[stable-2.8] hostname - fix Oracle Linux (#58510)

(cherry picked from commit 1a5ae366f4)

Co-authored-by: Sam Doran <sdoran@redhat.com>
This commit is contained in:
Sam Doran 2019-06-28 12:24:03 -04:00 committed by Toshio Kuratomi
parent cb70656c99
commit dd304b4811
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- hostname - fix regression with Oracle Linux (https://github.com/ansible/ansible/issues/42726)

View file

@ -639,7 +639,7 @@ class ScientificHostname(Hostname):
class OracleLinuxHostname(Hostname):
platform = 'Linux'
distribution = 'Ol'
distribution = 'Oracle'
strategy_class = RedHatStrategy