Ansible installation: No action detected in task

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ansible installation: No action detected in task

L1 Bithead

I've installed Ansible on Ubuntu. playbooks referencing panos modules do not work. They fail with the message "ERROR! no action detected in task". Here's an example:

 

---
  - name: My First Test
    connection: local
    gather_facts: False
    hosts: localhost

 

   tasks:

     - name: check if ready
       panos_check:
          ip_address: "10.0.0.99"
          password: "admin"

 

I run the playbook with "ansible-playbook test.yml --check"

 

If I replace 'panos_check' with a known native Ansible module, it get's past the point. All of the doc I've read says the panos modules are included with the Ansible distribution, but I can't find a way to check that.

 

I'm stuck, and any help is appreciated!

1 REPLY 1

L1 Bithead

It turned out that apt-get installed an old version. There are several more steps involved in getting the latest and greatest.

  • 2283 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!