Always lowercase role name

Due to [1] ansible always access servers lowcase. Also, in respect to [2], this
patch lowercase name which is use in fqdn, hostname, ssh_known_hosts and other
places.

[1] aa4278e5f3
[2] https://tools.ietf.org/html/rfc4343

Change-Id: Ib25832496d6504def436414b9c2903cbfe5854d4
Resolves: rhbz#1619556
This commit is contained in:
Sergii Golovatiuk 2018-08-30 00:21:05 +02:00
parent 356bef7da5
commit 0cf4bff9e6
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ resources:
user_data: {get_resource: UserData}
name:
yaql:
expression: $.data.hostname_map.get($.data.hostname, $.data.hostname)
expression: $.data.hostname_map.get($.data.hostname, $.data.hostname).toLower()
data:
hostname: {get_param: Hostname}
hostname_map: {get_param: HostnameMap}