Skip to content

Commit

Permalink
update vars include and update all vars
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanis committed Apr 28, 2024
1 parent 0fa9b0c commit 73a7b59
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 8 deletions.
3 changes: 1 addition & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
ansible.builtin.include_vars: "{{ item }}"
with_first_found:
- "{{ ansible_distribution }}{{ ansible_distribution_major_version }}.yml"
- "{{ ansible_os_family }}{{ ansible_distribution_major_version }}.yml"
- "{{ ansible_os_family }}.yml"
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"
tags:
- always
- name: Set up
Expand Down
52 changes: 52 additions & 0 deletions vars/AlmaLinux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
openldap_server_pkgs:
- openldap-servers
- openldap-clients
- openldap-devel
- libselinux-python
- openssl
- openssl-devel
- redhat-rpm-config
- authselect-compat
- platform-python-pip
- platform-python-pexpect
- gcc
- rpcbind
- python-devel

openldap_python_pkgs:
- python-ldap
- ldap3

openldap_client_pkgs:
- nss-pam-ldapd
- nscd
- sssd-ldap
- sssd-ad
- sssd-nfs-idmap
- libsss_autofs
- platform-python-devel
- gcc
- openldap-devel
- cyrus-sasl
- redhat-rpm-config
- cyrus-sasl-devel
- platform-python-pip
- openssh-ldap-authkeys
- openldap-clients
- authselect-compat
- rpcbind

samba_pkgs:
# - smbldap-tools
# - samba

openldap_server_app_path: /etc/openldap
openldap_server_db_path: /var/lib/ldap/{{ openldap_server_domain_name }}

openldap_server_user: ldap
openldap_server_group: ldap
openldap_nslcd_group: ldap
openldap_server_enable_sshkeys: false
ssh_service: sshd
openldap_ssh_ldap_pubkey_version: 1.3.0
11 changes: 5 additions & 6 deletions vars/RedHat9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ openldap_python_pkgs:
- python-ldap
- ldap3


openldap_client_pkgs:
- nss-pam-ldapd
- nscd
Expand All @@ -39,15 +38,15 @@ openldap_client_pkgs:
- rpcbind

samba_pkgs:
# - smbldap-tools
# - samba
# - smbldap-tools
# - samba

openldap_server_app_path: "/etc/openldap"
openldap_server_db_path: "/var/lib/ldap/{{ openldap_server_domain_name }}"
openldap_server_app_path: /etc/openldap
openldap_server_db_path: /var/lib/ldap/{{ openldap_server_domain_name }}

openldap_server_user: ldap
openldap_server_group: ldap
openldap_nslcd_group: ldap
openldap_server_enable_sshkeys: false
ssh_service: sshd
openldap_ssh_ldap_pubkey_version: 1.3.0
openldap_ssh_ldap_pubkey_version: 1.3.0
52 changes: 52 additions & 0 deletions vars/Rocky.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
openldap_server_pkgs:
- openldap-servers
- openldap-clients
- openldap-devel
- libselinux-python
- openssl
- openssl-devel
- redhat-rpm-config
- authselect-compat
- platform-python-pip
- platform-python-pexpect
- gcc
- rpcbind
- python-devel

openldap_python_pkgs:
- python-ldap
- ldap3

openldap_client_pkgs:
- nss-pam-ldapd
- nscd
- sssd-ldap
- sssd-ad
- sssd-nfs-idmap
- libsss_autofs
- platform-python-devel
- gcc
- openldap-devel
- cyrus-sasl
- redhat-rpm-config
- cyrus-sasl-devel
- platform-python-pip
- openssh-ldap-authkeys
- openldap-clients
- authselect-compat
- rpcbind

samba_pkgs:
# - smbldap-tools
# - samba

openldap_server_app_path: /etc/openldap
openldap_server_db_path: /var/lib/ldap/{{ openldap_server_domain_name }}

openldap_server_user: ldap
openldap_server_group: ldap
openldap_nslcd_group: ldap
openldap_server_enable_sshkeys: false
ssh_service: sshd
openldap_ssh_ldap_pubkey_version: 1.3.0

0 comments on commit 73a7b59

Please sign in to comment.