Ansible pfsense create users
is there a ansible module for creating users?
I did not find anything. I would need to create more than 100 users. Any Ideas how to do this?
You can always manipulate the xml file and then restore it..
I take it this is for vpn users?
If so many users prob better to use some other system for the auth of the users vs the local userbase.
If it is for VPN users I'd be tempted to use FreeRadius for Auth.
Add a couple of users, see what it does in the
xml and then update and import the xml.
Better still its a flat text file /usr/local/etc/raddb/users
I need the users for the CP but this does not make any difference.
We use ansible to manage our infrastructure. For sure i could work with xml and import this - but i think it would be real great to do this with ansible. This would save a lot of time.
We have this problem at the satelite sites for guest access.
While there is no built in feature for this, or package afaik - simple google finds say this
Sure there prob others.. Use at your own risk for sure!!!!
But it doesn't list "users" as one of its modules
Here is another one
But again don't see "users" as option to manage.
If you need to have lots of lots of different users for whatever reason - you normally point to some other auth server.
Captive Portal can auth against something else. Something that can be configured with Ansible.
I know these Ansible Modules but they does not work with users.
I know i can auth against other databases but i don't like to do a more complex setup.
I have only a thinclient at these sites running pfsense.
But even if i do auth against some other auth server i need still create the users. This is the step i like to run with ansible - this saves a lot of time.
auth server i need still create the users. This is the step i like to run with ansible
Create the users in the other system via ansible ;) Thought that was obvious...
- point pfsense to auth server
- create users in said auth server with ansible
How is this not what you are asking to do?