Hi all, I am testing a very simple playbook for netconf and I didn't get 
very far. What did I do wrong?


ERROR! 'netconf_config' is not a valid attribute for a Play

The error appears to have been in '/home/as2618/FSL/main.yaml': line 1, 
column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: Add Netconf User
  ^ here

This is the content of the playbook:

xxxxx@ansi0003vm001:~/FSL$ cat -T main.yaml
- name: Add Netconf User
  netconf_config:
    host: 192.168.0.100
    username: root
    password: hellothere
    xml: |
          <?xml version="1.0" encoding="UTF-8"?>
          <hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
               <capabilities>
                        
<capability>urn:ietf:params:netconf:base:1.0</capability>
                        
<capability>urn:com:dingdong:ebase:1.1.0</capability>
               </capabilities>
          </hello>
          ]]>]]>

Thanks!

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b22bf63e-f99d-417f-b4f0-d42c7651c726%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to