diff --git a/changelogs/fragments/64810-hostname-add-manjaro-linux-distribution.yml b/changelogs/fragments/64810-hostname-add-manjaro-linux-distribution.yml new file mode 100644 index 00000000000..1e78a63d851 --- /dev/null +++ b/changelogs/fragments/64810-hostname-add-manjaro-linux-distribution.yml @@ -0,0 +1,2 @@ +bugfixes: + - hostname - make module work on Manjaro Linux (https://github.com/ansible/ansible/issues/61382) diff --git a/lib/ansible/modules/system/hostname.py b/lib/ansible/modules/system/hostname.py index 16a8df45476..638b086a520 100644 --- a/lib/ansible/modules/system/hostname.py +++ b/lib/ansible/modules/system/hostname.py @@ -628,6 +628,12 @@ class ArchARMHostname(Hostname): strategy_class = SystemdStrategy +class ManjaroHostname(Hostname): + platform = 'Linux' + distribution = 'Manjaro' + strategy_class = SystemdStrategy + + class RHELHostname(Hostname): platform = 'Linux' distribution = 'Redhat'