def env_fallback(*args, **kwargs):
 for arg in args:
  if (arg in os.environ):
   return os.environ[arg]
 else:
  raise AnsibleFallbackNotFound

def env_fallback ( * args , ** kwargs ) : for arg in args : if ( arg in os . environ ) : return os . environ [ arg ] else : raise AnsibleFallbackNotFound
load value from environment .