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

Error: group mongodb does not exist #26

Open
coffee-mug-24 opened this issue Jun 8, 2016 · 1 comment
Open

Error: group mongodb does not exist #26

coffee-mug-24 opened this issue Jun 8, 2016 · 1 comment

Comments

@coffee-mug-24
Copy link

I got the error "Group mongodb does not exist" when running with the minimum config (see below).
Fixed it by adding a task group: name={{ mongodb_user }} before the role.

roles: - Stouts.mongodb vars: mongodb_user: mongodb

Environment was Amazon Linux.

@codewinkel
Copy link

You could also create pre_tasl
pre_tasks: - name: Create group group: name: "{{mongodb_user}}" state: present

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

2 participants