No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

slapd.yml 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. - name: Set slapd admin password
  2. debconf:
  3. name: slapd
  4. question: "{{ item }}"
  5. value: "{{ slapd_admin_password }}"
  6. vtype: string
  7. with_items:
  8. - slapd/password1
  9. - slapd/password2
  10. tags:
  11. - dependencies
  12. - name: Set slapd domain
  13. debconf:
  14. name: slapd
  15. question: slapd/domain
  16. value: "{{ ldap_domain }}"
  17. vtype: string
  18. tags:
  19. - dependencies
  20. - name: Set slapd orga
  21. debconf:
  22. name: slapd
  23. question: slapd/organization
  24. value: "{{ ldap_orga }}"
  25. vtype: string
  26. tags:
  27. - dependencies
  28. - name: Set some slapd defaults (no_configuration)
  29. debconf:
  30. name: slapd
  31. question: slapd/no_configuration
  32. value: false
  33. vtype: boolean
  34. tags:
  35. - dependencies
  36. - name: Set some slapd defaults (dump_database)
  37. debconf:
  38. name: slapd
  39. question: slapd/dump_database
  40. value: always
  41. vtype: select
  42. tags:
  43. - dependencies
  44. - name: Set some slapd defaults (move_old_database)
  45. debconf:
  46. name: slapd
  47. question: slapd/move_old_database
  48. value: true
  49. vtype: boolean
  50. tags:
  51. - dependencies
  52. - name: Set some slapd defaults (purge_database)
  53. debconf:
  54. name: slapd
  55. question: slapd/purge_database
  56. value: false
  57. vtype: boolean
  58. tags:
  59. - dependencies
  60. - name: Install slapd and utilities from Debian repository
  61. apt:
  62. name: "{{ packages }}"
  63. state: present
  64. update_cache: yes
  65. vars:
  66. packages:
  67. - slapd
  68. - ldap-utils
  69. tags:
  70. - dependencies