Skip to content

Commit

Permalink
uncomment pubkey script installer task
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanis committed Oct 22, 2024
1 parent 5abac20 commit 4662886
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
12 changes: 7 additions & 5 deletions tasks/ldap_client_debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
register: apt_install_result
until: apt_install_result is not failed

# - name: Install ssh-ldap-pubkey pip package
# ansible.builtin.include_tasks:
# file: ssh-ldap-pubkey.yml
# when:
# - openldap_server_enable_sshkeys | default(true)
- name: Install ssh-ldap-pubkey pip package
ansible.builtin.include_tasks:
file: ssh-ldap-pubkey.yml
when:
- openldap_server_enable_sshkeys | default(true)
tags:
- openldap-sshd

- name: Create openldap app path
ansible.builtin.file:
Expand Down
12 changes: 7 additions & 5 deletions tasks/ldap_client_redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
notify:
- restart_login_services

# - name: Install ssh-ldap-pubkey pip package
# ansible.builtin.include_tasks:
# file: ssh-ldap-pubkey.yml
# when:
# - openldap_server_enable_sshkeys | default(true)
- name: Install ssh-ldap-pubkey pip package
ansible.builtin.include_tasks:
file: ssh-ldap-pubkey.yml
when:
- openldap_server_enable_sshkeys | default(true)
tags:
- openldap-sshd

- name: Copy /etc/ldap.conf for client
ansible.builtin.template:
Expand Down

0 comments on commit 4662886

Please sign in to comment.