Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define multiple roles scan #824

Open
canbuyukburc opened this issue Dec 18, 2024 · 0 comments
Open

define multiple roles scan #824

canbuyukburc opened this issue Dec 18, 2024 · 0 comments

Comments

@canbuyukburc
Copy link

I have an ansible repository with two roles.
{repository_root}/roles/docker-ce
{repository_root}/roles/shaneholloman.ntp

when I try to create a config file ansibledoctor.yml i get an error
`base_dir: "./roles/docker-ce"
role:
name:
- "docker-ce"

2024-12-18 10:26:43 [critical ] Configuration error
role.name must is_type_of <class 'str'> but it is ['docker-ce'] in env main`

when i try
name: "docker-ce"
then i get a long python error
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/re/__init__.py", line 167, in match return _compile(pattern, flags).match(string) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ TypeError: expected string or bytes-like object, got 'NoneType'

i am not sure how to make ansibledoctor to scan my roles and create the readme file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant