On 26. juli 2017 17:09, Andrew Meyer wrote:
I seem to be having some issues making this playbook work.  I want to just
do a show run on all my cisco devices, but it keeps throwing errors about
the '- vars:' or something else.  I am on the latest version.
  rpm -qa|grep -i ansible
ansible-inventory-grapher-2.3.2-1.el7.noarch
ansible-2.3.1.0-1.el7.noarch
ansible-review-0.13.0-2.el7.noarch
ansible-openstack-modules-0-20140902git79d751a.el7.noarch
ansible-lint-3.4.12-1.el7.noarch
ansible-doc-2.3.1.0-1.el7.noarch


- vars:
   hosts: cisco-fw
>      cli:

You have them in the wrong order, it should be this way

- hosts: cisco-fw
  vars:
    cli:

--
Kai Stian Olstad

--
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/fe46bf8b-7bf4-ee58-af9c-fa7f06b9413e%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to