summaryrefslogtreecommitdiffstats
path: root/slx-builder/tasks/install.yml
diff options
context:
space:
mode:
authorJonathan Bauer2018-08-21 15:56:22 +0200
committerJonathan Bauer2018-08-21 15:56:22 +0200
commit6d7159854933a8a433425968cfc44486f5ea7ad4 (patch)
tree40c50a944bc18e383a26d8c4d5ba362c22ae13f2 /slx-builder/tasks/install.yml
parent[slx-builder] introduce tags 'install' and 'build' (diff)
downloadansible-dracut-6d7159854933a8a433425968cfc44486f5ea7ad4.tar.gz
ansible-dracut-6d7159854933a8a433425968cfc44486f5ea7ad4.tar.xz
ansible-dracut-6d7159854933a8a433425968cfc44486f5ea7ad4.zip
[slx-builder] add missing files
Diffstat (limited to 'slx-builder/tasks/install.yml')
-rw-r--r--slx-builder/tasks/install.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/slx-builder/tasks/install.yml b/slx-builder/tasks/install.yml
new file mode 100644
index 0000000..c7393be
--- /dev/null
+++ b/slx-builder/tasks/install.yml
@@ -0,0 +1,28 @@
+---
+- include: tasks/distro.yml
+
+- name: OpenSLX dracut | Install dependencies
+ package:
+ name: "{{ item }}"
+ state: present
+ with_items: "{{ pkgnames }}"
+
+- name: OpenSLX dracut | Create download destination directory
+ file:
+ path: "{{ builder_path | dirname }}"
+ state: directory
+
+- name: OpenSLX dracut | Download bootstrap script
+ get_url:
+ url: "{{ builder_url }}"
+ checksum: "{{ builder_checksum }}"
+ dest: "{{ builder_path }}"
+ mode: 0550
+
+- name: OpenSLX dracut | Initialize repository
+ shell: "{{ builder_path }} --init"
+ args:
+ creates: "${{ builder_path | dirname }}/dracut/dracut.sh"
+
+- include: tasks/dnbd3-fixes.yml
+