Files @ 9f804c9501da
Branch filter:

Location: majic-ansible-roles/roles/preseed/tasks/main.yml

branko
MAR-39: Added support for specifying consumers of LDAP structure to the LDAP server role. Added support to the LDAP server role for specifying groups to create. Modified the ldap_entry implementation, replacing the addattributes/replaceattributes with append/replace states. The new states allow for creation of entry if it does not exist, making them more versatille. The existing classes and configurations have been updated accordingly.
---

- name: Create directory for storing preseed configurations
  file: path="{{ preseed_directory }}" mode=750 state=directory

- name: Create preseed configuration file
  template: src="preseed-jessie.cfg.j2" dest="{{ preseed_directory }}/{{ item }}.cfg"
            mode=640
  with_items: groups['all']
  when: item != "localhost"