On 05.04.2019 00:06, Lucas Possamai wrote:
On Fri, 5 Apr 2019 at 06:15, David Baumann <[email protected]> wrote:

Maybe forgot a delegate_to and you execure the module on remote host?


I am not executing the module on remote host. It is locally.

This is the yaml file:

---
# Perform PURE Flasharray Database snapshots
- name: perform PURE volume snapshot
  purefa_snap:
    name: Oracle/db2-prod-oracledb
    suffix: snap
    fa_url: "{{ fa_url }}"
    api_token: "{{ apiToken }}"

This code doesn't prove that's running locally.

modules will only run on localhost if the playbook have "hosts: localhost" or "connection: local". If not, the module will run on remote host(s) unless you have "delegate_to: localhost" on the task(s).

--
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/7438a2ac1ad9d029d2a27de059b6c37b%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to