diff --git a/roles/preseed/tasks/main.yml b/roles/preseed/tasks/main.yml new file mode 100644 index 0000000000000000000000000000000000000000..c3c011036b99d2f790bff8ea2f61dbc1d2cc83de --- /dev/null +++ b/roles/preseed/tasks/main.yml @@ -0,0 +1,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 \ No newline at end of file