You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug SEE EDIT AT THE BOTTOM
When I want to use the module pfsense_authserver module, it fails with error TypeError: PFSenseModuleBase.__init__() got an unexpected keyword argument 'root'.
I have my /etc/ansible/ansible.cfg conf file:
# This subtask is used only as test for successfull changes on target. It works.
- name: Configure General Setup
ansible.builtin.include_tasks: general_setup.yml
# This one is the one that seems to have a bug
- name: Configure LDAP auth server
ansible.builtin.include_tasks: configure_LDAP_authserver.yml
ansible-galaxy collection list | grep pfsensible.core
pfsensible.core 0.6.1
What version of ansible?
ansible/stable,now 7.7.0+dfsg-3+deb12u1 all [installed]
What version of pfSense?
CE 2.7.2
EDIT
I'm confused.
I just noticed that repo on github at core/plugins/modules/ doesn't contain pfsense_authserver.py, only pfsense_authserver_ldap.py...
But the documentation at Ansible Galaxy website does contain it. I installed it with ansible-galaxy collection install pfsensible.core
Does it mean that the more general purpose module pfsense_authserver.py got deleted and that we have to use pfsense_authserver_ldap.py ? If yes, why on version 0.6.1, it seems that it's available and the ansible galaxy website shows usage on how to use it ?
The text was updated successfully, but these errors were encountered:
Describe the bug
SEE EDIT AT THE BOTTOM
When I want to use the module
pfsense_authserver
module, it fails with errorTypeError: PFSenseModuleBase.__init__() got an unexpected keyword argument 'root'
.I have my
/etc/ansible/ansible.cfg
conf file:I then have my inventory
/root/dev-ansible/inventory.yaml
I then created an ssh key pair, protected by password that I added to my Pfsenser target system:
i can sucessfully connect to my target pfSense without any password prompt for my ansible controller:
Playbook
2 conf var files:
vars/conf_pfsense.yml
vars/vault.yml
My role as a main task:
My subtask has the exact same example as on pfsense_authserver documentation:
Output
It fails with error
TypeError: PFSenseModuleBase.__init__() got an unexpected keyword argument 'root'
:Environment
EDIT
I'm confused.
I just noticed that repo on github at
core/plugins/modules/
doesn't containpfsense_authserver.py
, onlypfsense_authserver_ldap.py
...But the documentation at Ansible Galaxy website does contain it. I installed it with
ansible-galaxy collection install pfsensible.core
Does it mean that the more general purpose module
pfsense_authserver.py
got deleted and that we have to usepfsense_authserver_ldap.py
? If yes, why on version 0.6.1, it seems that it's available and the ansible galaxy website shows usage on how to use it ?The text was updated successfully, but these errors were encountered: