On 10 September 2018 at 09:21, Victor Sava <[EMAIL PROTECTED]> wrote:
> ERROR! A malformed role declaration was encountered. > > The error appears to have been in > '/home/victors/Desktop/Ansible-Playbooks/telegraf.yml': line 1, column 3, > but may > be elsewhere in the file depending on the exact syntax problem. > > The offending line appears to be: > > > - hosts: web-core > ^ here > > > and this is the playbook: > >> - hosts: web-core >> roles: telegrafw > > > > I dont understand where i do the mistake
'roles' should be a list:
- hosts: web-core roles: - telegrafw Dick
-- To post to this group, send email to [EMAIL PROTECTED].