Files @ cc12c282bb3d
Branch filter:

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

branko
MAR-2: Added a role for generating the preseed files.
1
2
3
4
5
6
7
8
9
---

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

- name: Create preseed configuration file
  template: src="preseed-wheezy.cfg.j2" dest="{{ preseed_directory }}/{{ item.name }}.cfg"
            mode=640
  with_items: preseed_servers