@@ -415,6 +415,7 @@ pve_groups: [] # List of group definitions to manage in PVE. See section on User
415
415
pve_users: [] # List of user definitions to manage in PVE. See section on User Management.
416
416
pve_storages: [] # List of storages to manage in PVE. See section on Storage Management.
417
417
pve_datacenter_cfg: {} # Dictionary to configure the PVE datacenter.cfg config file.
418
+ pve_domains_cfg: {} # List of realms to use as authentication sources in the PVE domains.cfg config file.
418
419
```
419
420
420
421
To enable clustering with this role, configure the following variables appropriately:
@@ -460,6 +461,36 @@ pve_cluster_ha_groups:
460
461
All configuration options supported in the datacenter.cfg file are documented in the
461
462
[ Proxmox manual datacenter.cfg section] [ datacenter-cfg ] .
462
463
464
+ You can set realms / domains as authentication sources in the ` domains.cfg ` configuration file.
465
+ If this file is not present, only the ` Linux PAM ` and ` Proxmox VE authentication server ` realms
466
+ are available. Supported types are ` pam ` , ` pve ` , ` ad ` and ` ldap ` .
467
+ One realm should have the ` default: 1 ` property to mark it as the default:
468
+
469
+ ```
470
+ pve_domains_cfg:
471
+ - name: pam
472
+ type: pam
473
+ comment: Linux PAM standard authentication
474
+ - name: pve
475
+ type: pve
476
+ comment: Proxmox VE authentication server
477
+ - name: AD
478
+ type: ad
479
+ comment: Active Directory authentication
480
+ domain: yourdomain.com
481
+ server1: dc01.yourdomain.com
482
+ default: 1
483
+ secure: 1
484
+ server2: dc02.yourdomain.com
485
+ - name: LDAP
486
+ type: ldap
487
+ base_dn: CN=Users,dc=yourdomain,dc=com
488
+ server1: ldap1.yourdomain.com
489
+ user_attr: uid
490
+ secure: 1
491
+ server2: ldap2.yourdomain.com
492
+ ```
493
+
463
494
## Dependencies
464
495
465
496
This role does not install NTP, so you should configure NTP yourself, e.g. with
0 commit comments