hostname: add support for openEuler distro (#76619)

pull/76673/head
gongnan 3 years ago committed by GitHub
parent 2285483a59
commit 0502a03579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- hostname - add hostname support for openEuler distro (https://github.com/ansible/ansible/pull/76619).

@ -951,6 +951,12 @@ class EurolinuxHostname(Hostname):
strategy_class = RedHatStrategy
class OpenEulerHostname(Hostname):
platform = 'Linux'
distribution = 'Openeuler'
strategy_class = SystemdStrategy
def main():
module = AnsibleModule(
argument_spec=dict(

Loading…
Cancel
Save