torwachter: rm d3 key as he does no longer want access as told by ruru. Also better...
[noc.git] / tasks / main.yml
1 ---
2 - block:
3     - name: Create temporary workdir
4       command: mktemp -d
5       register: tmpdir
6
7     - import_role:
8         name: preseed
9       vars:
10         preseed_tmpdir: "{{ tmpdir.stdout }}"
11
12     - name: Copy the preseed initramfs to the artifacts directory
13       copy:
14         src: "{{ tmpdir.stdout }}/initrd.preseed.gz"
15         dest: "{{ artifacts_dir }}/"
16
17
18   always:
19     - name: Cleanup temporary workdir
20       file:
21         path: "{{ tmpdir.stdout }}"
22         state: absent