|
1 | 1 | --- |
2 | 2 | - name: Import optional extra_args file |
3 | 3 | ansible.builtin.include_vars: "{{ item }}" |
4 | | - ignore_errors: true |
| 4 | + # TODO: Review - was ignore_errors: true |
| 5 | + failed_when: false # Always succeed - review this condition |
5 | 6 | with_first_found: |
6 | 7 | - files: |
7 | 8 | - "../extra_vars.yml" |
|
12 | 13 |
|
13 | 14 | - name: Select the .config file for building the test kernel |
14 | 15 | ansible.builtin.include_tasks: |
15 | | - file: "{{ role_path }}/tasks/config.yml" |
| 16 | + ansible.builtin.file: "{{ role_path }}/tasks/config.yml" |
16 | 17 | when: |
17 | 18 | - not workflow_linux_packaged|bool |
18 | 19 |
|
19 | 20 | # Distro specific |
20 | 21 | - name: Install dependencies to build and install the Linux kernel |
21 | 22 | ansible.builtin.import_tasks: |
22 | | - file: install-deps/main.yml |
| 23 | + ansible.builtin.file: install-deps/main.yml |
23 | 24 | when: |
24 | 25 | - not bootlinux_9p|bool |
25 | 26 | - not workflow_linux_packaged|bool |
26 | 27 |
|
27 | 28 | # When using 9P builds, we still need make on the guest for modules_install |
28 | 29 | - name: Install essential build tools for 9P builds |
29 | 30 | ansible.builtin.import_tasks: |
30 | | - file: install-minimal-deps/main.yml |
| 31 | + ansible.builtin.file: install-minimal-deps/main.yml |
31 | 32 | when: |
32 | 33 | - bootlinux_9p|bool |
33 | 34 | - not workflow_linux_packaged|bool |
|
195 | 196 |
|
196 | 197 | - name: Build the Linux kernel on the controller host |
197 | 198 | ansible.builtin.include_tasks: |
198 | | - file: "{{ role_path }}/tasks/build/9p.yml" |
| 199 | + ansible.builtin.file: "{{ role_path }}/tasks/build/9p.yml" |
199 | 200 | when: |
200 | 201 | - bootlinux_9p|bool |
201 | 202 |
|
202 | 203 | - name: Build the Linux kernel on the target nodes |
203 | 204 | ansible.builtin.include_tasks: |
204 | | - file: "{{ role_path }}/tasks/build/targets.yml" |
| 205 | + ansible.builtin.file: "{{ role_path }}/tasks/build/targets.yml" |
205 | 206 | when: |
206 | 207 | - bootlinux_targets|bool |
207 | 208 |
|
208 | 209 | - name: Build kernel on the builder node |
209 | 210 | ansible.builtin.include_tasks: |
210 | | - file: "{{ role_path }}/tasks/build/builder.yml" |
| 211 | + ansible.builtin.file: "{{ role_path }}/tasks/build/builder.yml" |
211 | 212 | when: |
212 | 213 | - bootlinux_builder|bool |
213 | 214 |
|
|
302 | 303 | regexp: "^DEFAULTDEBUG=" |
303 | 304 | line: DEFAULTDEBUG=yes |
304 | 305 | tags: ["saved"] |
305 | | - when: ansible_facts['os_family']|lower == 'redhat' |
| 306 | + when: ansible_facts['os_family'] | lower == 'redhat' |
306 | 307 |
|
307 | 308 | - name: Install packages on each target node |
308 | 309 | ansible.builtin.import_tasks: |
309 | | - file: "{{ role_path }}/tasks/install/packages.yml" |
| 310 | + ansible.builtin.file: "{{ role_path }}/tasks/install/packages.yml" |
310 | 311 | when: |
311 | 312 | - workflow_linux_packaged|bool |
312 | 313 |
|
|
0 commit comments