Commit b604f629 authored by nimrod's avatar nimrod
Browse files

Reconfigure packages if needed.

parent dc499a61
Loading
Loading
Loading
Loading
+5
Changes for tasks/main.yml: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
    - question: slapd/password2
      vtype: password
      value: '{{ openldap_password }}'
  register: openldap_debconf

- name: apt install
  apt:
@@ -34,6 +35,10 @@
    - python-ldap
    - ssl-cert

- name: Reconfigure slapd (if needed)
  when: openldap_debconf.changed
  command: /usr/sbin/dpkg-reconfigure --frontend noninteractive slapd

- name: Allow slapd to access the TLS key
  user:
    name: openldap
+5
Changes for tasks/phpldapadmin.yml: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
    question: phpldapadmin/ldap-basedn
    vtype: string
    value: '{{ openldap_basedn }}'
  register: phpldapadmin_debconf

- name: apt install phpldapadmin
  apt:
@@ -14,6 +15,10 @@
    update_cache: yes
    cache_valid_time: 3600

- name: Reconfigure phpldapadmin (if needed)
  when: phpldapadmin_debconf.changed
  command: /usr/sbin/dpkg-reconfigure --frontend noninteractive slapd

- name: Enable mod-ssl in Apache
  apache2_module:
    name: ssl