ERROR - None of the provided paths was usable Please specify a valid path with --roles-path

0 votes

Hi Guys,

I have created one role in Ansible. But when I am trying to see the role name, it is showing me the below error.

$ ansible-galaxy list
[WARNING]: - the configured path /root/web does not exist.
usage: ansible-galaxy [-h] [--version] [-v] TYPE ...
Perform various Role and Collection related operations.
positional arguments:
  TYPE
    collection   Manage an Ansible Galaxy collection.
    role         Manage an Ansible Galaxy role.
optional arguments:
  --version      show program's version number, config file location,
                 configured module search path, module location, executable
                 location and exit
  -h, --help     show this help message and exit
  -v, --verbose  verbose mode (-vvv for more, -vvvv to enable connection
                 debugging)
ERROR! - None of the provided paths was usable. Please specify a valid path with --roles-path
Aug 20, 2020 in Ansible by akhtar
• 38,260 points
4,040 views

1 answer to this question.