Hi,

> *[root@localhost ansible-content]# cat playbook-Create_User.yml----
> name: Create new user account  hosts: all  #connection: local  
> junipernetworks.junos.junos_user:    name: ansibleusr    role:
> super-user state: present*

you need to use the `tasks:` keyword and move the actual task into
there. This is not a valid playbook (with or without collections).

Something like:

  - hosts: all
    tasks:
      - junipernetworks.junos.junos_user:
          name: ansibleusr
          role: super-user
          state: present

Cheers,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20211222232155.10201827%40rovaniemi.

Reply via email to