raiseAnsibleError('Incorrect permissions on the private key directory. Use `chmod 0%o %s` to correct this issue, and make sure any of the keys files contained within that directory are set to 0%o'%(int(C.ACCELERATE_KEYS_DIR_PERMS,8),C.ACCELERATE_KEYS_DIR,int(C.ACCELERATE_KEYS_FILE_PERMS,8)))
key_path=os.path.join(key_path,hostname)
# use new AES keys every 2 hours, which means fireball must not allow running for longer either
raiseAnsibleError('Incorrect permissions on the key file for this host. Use `chmod 0%o %s` to correct this issue.'%(int(C.ACCELERATE_KEYS_FILE_PERMS,8),key_path))