summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2018-02-09 16:55:53 +0100
committerJonathan Bauer2018-02-09 16:55:53 +0100
commit025a869b815f82816b00ef77e18b1f7a3b2bad90 (patch)
treef8b2be497694b569d4f02fed622169aab7f3bd9f
parent[dracut-init] externalize dnbd3 compile fixes (diff)
downloadansible-dracut-025a869b815f82816b00ef77e18b1f7a3b2bad90.tar.gz
ansible-dracut-025a869b815f82816b00ef77e18b1f7a3b2bad90.tar.xz
ansible-dracut-025a869b815f82816b00ef77e18b1f7a3b2bad90.zip
[dracut-init] formatting
-rw-r--r--dracut-initramfs-builder/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/dracut-initramfs-builder/tasks/main.yml b/dracut-initramfs-builder/tasks/main.yml
index b50e57d..fbd18a4 100644
--- a/dracut-initramfs-builder/tasks/main.yml
+++ b/dracut-initramfs-builder/tasks/main.yml
@@ -17,6 +17,7 @@
shell: "{{ gittarget }}/builder/build-initramfs.sh -s -d -p {{ gittarget }}/initramfs"
args:
creates: "{{ gittarget }}/initramfs"
+
- name: Fetch built initramfs and kernel (+ hack for weird /@ prefix of BOOT_IMAGE)
fetch:
src: "{{ item }}"
@@ -26,6 +27,7 @@
with_items:
- "{{ gittarget }}/initramfs"
- "{{ ansible_cmdline.BOOT_IMAGE | regex_replace('^/@(/boot/.*)+$', '\\1') }}"
+
- name: Cleanup
file:
path: "{{ gittarget }}"