ansible/roles/koschei/files/koschei.py

8 lines
115 B
Python
Raw Normal View History

import socket
hostname = socket.gethostname().split('.', 1)[0]
config = {
"name": "koschei.%s" % hostname,
}