@@ -138,7 +138,7 @@ def get_vpn_var(*, provider, configuration, cluster_id, vpngtw, vpn_count):
138138 return vpngtw_dict , os .path .join (aRP .HOST_VARS_FOLDER_REMOTE , f"{ name } .yaml" )
139139
140140
141- def get_master_var (provider , configuration , cluster_id , log ):
141+ def get_master_var (provider , configuration , cluster_id ):
142142 master = configuration ["masterInstance" ]
143143 name = MASTER_IDENTIFIER (cluster_id = cluster_id )
144144 flavor_dict = provider .create_flavor_dict (flavor = master ["type" ])
@@ -184,7 +184,7 @@ def get_host_and_group_vars(configurations, providers, cluster_id, log):
184184 get_vpn_var (provider = provider , configuration = configuration , cluster_id = cluster_id , vpngtw = vpngtw ,
185185 vpn_count = vpn_count ))
186186 else :
187- write_remote .append (get_master_var (provider , configuration , cluster_id , log ))
187+ write_remote .append (get_master_var (provider , configuration , cluster_id ))
188188 return write_remote
189189
190190
@@ -408,7 +408,6 @@ def configure_ansible_yaml(providers, configurations, cluster_id, log):
408408 @return:
409409 """
410410 log .info ("Writing ansible files..." )
411- alias = configurations [0 ].get ("aliasDumper" , False )
412411 user_roles = configurations [0 ].get ("userRoles" , [])
413412 default_user = providers [0 ].cloud_specification ["auth" ].get ("username" , configurations [0 ].get ("sshUser" , "Ubuntu" ))
414413 add_wireguard_peers (configurations )
0 commit comments