diff --git a/handlers/main.yml b/handlers/main.yml index ca3202c..d05911b 100755 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -54,7 +54,7 @@ - name: Restart SSHD listen: restart_login_services ansible.builtin.service: - name: "{{ ssh_service }}" + name: "{{ sshd_service }}" state: restarted enabled: true diff --git a/vars/AlmaLinux.yml b/vars/AlmaLinux.yml index b026b69..7db2463 100755 --- a/vars/AlmaLinux.yml +++ b/vars/AlmaLinux.yml @@ -53,4 +53,4 @@ openldap_server_db_path: /var/lib/ldap/{{ openldap_server_domain_name }} openldap_server_user: ldap openldap_server_group: ldap openldap_nslcd_group: ldap -ssh_service: sshd +sshd_service: sshd diff --git a/vars/CentOS9.yml b/vars/CentOS9.yml index b026b69..7db2463 100755 --- a/vars/CentOS9.yml +++ b/vars/CentOS9.yml @@ -53,4 +53,4 @@ openldap_server_db_path: /var/lib/ldap/{{ openldap_server_domain_name }} openldap_server_user: ldap openldap_server_group: ldap openldap_nslcd_group: ldap -ssh_service: sshd +sshd_service: sshd diff --git a/vars/Debian.yml b/vars/Debian.yml index d3ea4ac..e9a0f36 100644 --- a/vars/Debian.yml +++ b/vars/Debian.yml @@ -52,4 +52,4 @@ openldap_server_user: openldap openldap_server_group: openldap openldap_nslcd_group: nslcd -ssh_service: ssh +sshd_service: ssh diff --git a/vars/RedHat.yml b/vars/RedHat.yml index b026b69..7db2463 100755 --- a/vars/RedHat.yml +++ b/vars/RedHat.yml @@ -53,4 +53,4 @@ openldap_server_db_path: /var/lib/ldap/{{ openldap_server_domain_name }} openldap_server_user: ldap openldap_server_group: ldap openldap_nslcd_group: ldap -ssh_service: sshd +sshd_service: sshd diff --git a/vars/RedHat9.yml b/vars/RedHat9.yml index b026b69..7db2463 100755 --- a/vars/RedHat9.yml +++ b/vars/RedHat9.yml @@ -53,4 +53,4 @@ openldap_server_db_path: /var/lib/ldap/{{ openldap_server_domain_name }} openldap_server_user: ldap openldap_server_group: ldap openldap_nslcd_group: ldap -ssh_service: sshd +sshd_service: sshd diff --git a/vars/Rocky.yml b/vars/Rocky.yml index b026b69..7db2463 100755 --- a/vars/Rocky.yml +++ b/vars/Rocky.yml @@ -53,4 +53,4 @@ openldap_server_db_path: /var/lib/ldap/{{ openldap_server_domain_name }} openldap_server_user: ldap openldap_server_group: ldap openldap_nslcd_group: ldap -ssh_service: sshd +sshd_service: sshd diff --git a/vars/Ubuntu.yml b/vars/Ubuntu.yml index feb442f..fc9a47b 100644 --- a/vars/Ubuntu.yml +++ b/vars/Ubuntu.yml @@ -51,4 +51,4 @@ openldap_server_user: openldap openldap_server_group: openldap openldap_nslcd_group: nslcd -ssh_service: ssh +sshd_service: ssh diff --git a/vars/Ubuntu22.yml b/vars/Ubuntu22.yml index d3ea4ac..e9a0f36 100644 --- a/vars/Ubuntu22.yml +++ b/vars/Ubuntu22.yml @@ -52,4 +52,4 @@ openldap_server_user: openldap openldap_server_group: openldap openldap_nslcd_group: nslcd -ssh_service: ssh +sshd_service: ssh diff --git a/vars/Ubuntu24.yml b/vars/Ubuntu24.yml index d3ea4ac..e9a0f36 100644 --- a/vars/Ubuntu24.yml +++ b/vars/Ubuntu24.yml @@ -52,4 +52,4 @@ openldap_server_user: openldap openldap_server_group: openldap openldap_nslcd_group: nslcd -ssh_service: ssh +sshd_service: ssh