openwisp / ansible-openwisp2

Ansible role that installs and upgrades OpenWISP.
https://openwisp.io/docs/dev/ansible/
BSD 3-Clause "New" or "Revised" License
474 stars 136 forks source link

[feature] Allow deploying WPA Enterprise 2 TTLS-PAP #462

Closed nemesifier closed 1 month ago

nemesifier commented 6 months ago

Let's find a way to allow users to deploy WPA Enterprise 2 TTLS-PAP via OpenWISP RADIUS more easily via this role.

I think we should generate the sites automatically given a list of organizations, each org supplying UUID, secret and a name (used just for internal purposes). However, I would leave the option to override the generation of a site if the user supplies a path to a template, so they can completely customize the site if needed.

Eg:

freeradius_eap_orgs:
  - name: org_a
    uuid: ...
    secret: ...
  - name: org_b
    uuid: ...
    secret: ...
    template: <path>