def migrate_admission_plugin_facts(facts):
 if ('master' in facts):
  if ('kube_admission_plugin_config' in facts['master']):
   if ('admission_plugin_config' not in facts['master']):
    facts['master']['admission_plugin_config'] = dict()
   facts['master']['admission_plugin_config'] = merge_facts(facts['master']['admission_plugin_config'], facts['master']['kube_admission_plugin_config'], additive_facts_to_overwrite=[], protected_facts_to_overwrite=[])
   facts['master'].pop('kube_admission_plugin_config', None)
 return facts

def migrate_admission_plugin_facts ( facts ) : if ( 'master' in facts ) : if ( 'kube_admission_plugin_config' in facts [ 'master' ] ) : if ( 'admission_plugin_config' not in facts [ 'master' ] ) : facts [ 'master' ] [ 'admission_plugin_config' ] = dict ( ) facts [ 'master' ] [ 'admission_plugin_config' ] = merge_facts ( facts [ 'master' ] [ 'admission_plugin_config' ] , facts [ 'master' ] [ 'kube_admission_plugin_config' ] , additive_facts_to_overwrite = [ ] , protected_facts_to_overwrite = [ ] ) facts [ 'master' ] . pop ( 'kube_admission_plugin_config' , None ) return facts
apply migrations for admission plugin facts .