Ansible installation: No action detected in task

L1 Bithead

Ansible installation: No action detected in task

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!

L1 Bithead

Re: Ansible installation: No action detected in task

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

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 Live Community as a whole!

The Live Community thanks you for your participation!