Lines Matching refs:bin_path
67 for bin_path in bin_paths:
68 if not os.path.islink(bin_path):
69 errors.append((bin_path, 'not a symbolic link'))
72 dest = os.readlink(bin_path)
74 if not os.path.exists(bin_path):
75 errors.append((bin_path, 'points to non-existent path "%s"' % dest))
78 if not os.path.isfile(bin_path):
79 errors.append((bin_path, 'points to non-file "%s"' % dest))
82 map_dest = ANSIBLE_BIN_SYMLINK_MAP.get(os.path.basename(bin_path))
85 … errors.append((bin_path, 'missing from ANSIBLE_BIN_SYMLINK_MAP in file "%s"' % symlink_map_path))
89 …errors.append((bin_path, 'points to "%s" instead of "%s" from ANSIBLE_BIN_SYMLINK_MAP in file "%s"…
92 if not os.access(bin_path, os.X_OK):
93 errors.append((bin_path, 'points to non-executable file "%s"' % dest))
98 bin_path = os.path.join(bin_root, bin_name)
99 …errors.append((bin_path, 'missing symlink to "%s" defined in ANSIBLE_BIN_SYMLINK_MAP in file "%s"'…