2

I have an ansible playbook with roles listed. One of the roles have a tag, and it is ansible galaxy role. I have it installed with ansible-galaxy install.

Playbook part:

roles: 
  ... roles here
  - {name: httplab.ffmpeg, tags: ffmpeg}

On playbook run I get

ERROR: expected a role name in dictionary: {'name': 'httplab.ffmpeg', 'tags': 'ffmpeg'}

That's quite confusing message actually. What I'm doing wrong here?

sorin
  • 161,544
  • 178
  • 535
  • 806
Igor Loskutov
  • 2,157
  • 2
  • 20
  • 33

1 Answers1

4

It should've been 'role' instead of 'name'.

Igor Loskutov
  • 2,157
  • 2
  • 20
  • 33