Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Devuan in hostname module #25525

Merged
merged 1 commit into from
Jun 9, 2017

Conversation

Akasurde
Copy link
Member

@Akasurde Akasurde commented Jun 9, 2017

SUMMARY

Fixes #25395

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

lib/ansible/module_utils/basic.py
lib/ansible/modules/system/hostname.py

ANSIBLE VERSION
2.4 devel

Fixes ansible#25395

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
@Akasurde
Copy link
Member Author

Akasurde commented Jun 9, 2017

Sample Output after fix :

TASK [hostname] ****************************************************************************************************************
changed: [192.168.122.169] => {"ansible_facts": {"ansible_domain": "example.com", "ansible_fqdn": "sample1.example.com", "ansible_hostname": "sample1", "ansible_nodename": "sample1.example.com"}, "changed": true, "failed": false, "name": "sample1.example.com"}

PLAY RECAP *********************************************************************************************************************
192.168.122.169            : ok=2    changed=1    unreachable=0    failed=0   

@ansibot
Copy link
Contributor

ansibot commented Jun 9, 2017

@ansibot ansibot added affects_2.4 This issue/PR affects Ansible v2.4 bugfix_pull_request c:module_utils/ c:module_utils/basic community_review In order to be merged, this PR must follow the community review workflow. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. labels Jun 9, 2017
@s-hertel s-hertel removed the needs_triage Needs a first human triage before being processed. label Jun 9, 2017
@jctanner jctanner merged commit ba4f6de into ansible:devel Jun 9, 2017
@Akasurde
Copy link
Member Author

Akasurde commented Jun 9, 2017

@s-hertel @jctanner Thanks.

@Akasurde Akasurde deleted the devuan_support branch June 9, 2017 15:36
@ansibot ansibot added bug This issue/PR relates to a bug. and removed bugfix_pull_request labels Mar 6, 2018
@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.4 This issue/PR affects Ansible v2.4 bug This issue/PR relates to a bug. c:module_utils/basic c:module_utils/ community_review In order to be merged, this PR must follow the community review workflow. module This issue/PR relates to a module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot change hostname on Devuan OS
4 participants