diff --git a/changelogs/fragments/hostname-oracle-linux-regeression.yaml b/changelogs/fragments/hostname-oracle-linux-regeression.yaml deleted file mode 100644 index 9f4f57df742..00000000000 --- a/changelogs/fragments/hostname-oracle-linux-regeression.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - hostname - fix regression with Oracle Linux (https://github.com/ansible/ansible/issues/42726) diff --git a/lib/ansible/modules/system/hostname.py b/lib/ansible/modules/system/hostname.py index 67212a85b97..e064b23fe85 100644 --- a/lib/ansible/modules/system/hostname.py +++ b/lib/ansible/modules/system/hostname.py @@ -639,7 +639,7 @@ class ScientificHostname(Hostname): class OracleLinuxHostname(Hostname): platform = 'Linux' - distribution = 'Oracle' + distribution = 'Ol' strategy_class = RedHatStrategy