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?

4

1 回答 1

4

它应该是“角色”而不是“名字”。

于 2015-05-08T17:22:04.190 回答