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

variables: sync with ansible_hostname ansible fact #907

Merged
merged 1 commit into from Feb 16, 2018
Merged

Commits on Feb 16, 2018

  1. variables: sync with ansible_hostname ansible fact

    given that we rely in many place to the `{{ ansible_hostname }}` fact in
    ceph-ansible, we have to ensure `$HOSTNAME` will match it.
    That fact relies on a `uname -n` [1], then it splits the string by '.'
    and pick the first element.
    
    [1] https://github.com/ansible/ansible/blob/6e585bdf247439cc820921b9f57206afcef61f03/lib/ansible/module_utils/facts/system/platform.py#L51
    
    Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1546127
    
    Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
    guits committed Feb 16, 2018
    Copy the full SHA
    f049642 View commit details
    Browse the repository at this point in the history