summaryrefslogtreecommitdiffstats
path: root/slx-builder/tasks/install.yml
blob: 95f2066c226678bc145d009bf11290f333178dd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 --debug"
  args:
    creates: "${{ builder_path | dirname }}/dracut/dracut.sh"

- include: tasks/dnbd3-fixes.yml