We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Let's say you have a server whose shortname is oak, and fully qualified name is oak.trees.com, as in this forum thread: http://ubuntuforums.org/showthread.php?t=1984993
The file /etc/hostname should be: oak
The file /etc/hosts should be: 127.0.0.1 localhost 127.0.1.1 oak.trees.com oak
The command: hostname -f would show: oak.trees.com
The command: hostname would show: oak
On the other hand, what appears to be happening with this playbook:
The text was updated successfully, but these errors were encountered:
i.e. regarding the shortname,
hostname_hostname.split('.')[:-1]|join('.')
should be
hostname_hostname.split('.')[0]
in both README and defaults/main.yml
Sorry, something went wrong.
This seems like a pretty critical flaw. Is this problem still present?
No branches or pull requests
Let's say you have a server whose shortname is oak, and fully qualified name is oak.trees.com, as in this forum thread: http://ubuntuforums.org/showthread.php?t=1984993
The file /etc/hostname should be:
oak
The file /etc/hosts should be:
127.0.0.1 localhost
127.0.1.1 oak.trees.com oak
The command:
hostname -f
would show:
oak.trees.com
The command:
hostname
would show:
oak
On the other hand, what appears to be happening with this playbook:
oak.trees.com
The text was updated successfully, but these errors were encountered: