i have installed the modules and i run this playbook : (create a new alias) 

---
- name: Add new alias in pfSense
  hosts: pfsense
  gather_facts: no
  vars:
    pfsense_api_user: "username"
    pfsense_api_pass: "pass"
    ansible_python_interpreter: /usr/local/bin/python3.8
  tasks:
  - name: Install python module pfsense
    pip:
      name: pfsense
  - name: Add new alias
    pfsensible.core.alias:
      pfsense_host: "https://hostpfSense";
      username: "pfsense_api_user"
      password: "pfsense_api_pass"
      mode: add_alias
      name: " Testing "
      type: " host "
      address: " 192.168.1.2 "
    register: result
  - name: Show result
    debug:
      var: result

and i got this error : 

ERROR! couldn't resolve module/action 'pfsensible.core.alias'. This often 
indicates a misspelling, missing collection, or incorrect module path.







-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3da1473d-a1fe-4ce3-9e4c-79e14d618982n%40googlegroups.com.

Reply via email to