Project

Profile

Help

Issue #4833

closed

roles not found when running example-use/playbook.yml

Added by both0 almost 5 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
OS:
CentOS 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 56
Quarter:

Description

Running:
ansible-playbook example-use/playbook.yml -u <user> -K --ask-pass returns following error:

ERROR! the role 'pulp-database' was not found in /home/ansible/ansible-pulp/example-use/roles:/home/ansible/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/ansible/ansible-pulp/example-use

The error appears to have been in '/home/ansible/ansible-pulp/example-use/playbook.yml': line 4, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

roles:
  - pulp-database
    ^ here

Ansible is run locally.

How to fix: copy /roles directory into example-use/ directory

Also available in: Atom PDF