|
103 | 103 | - bootlinux_tree_set_by_cli|bool |
104 | 104 | - not target_directory_stat.stat.exists |
105 | 105 |
|
106 | | -- name: git clone {{ target_linux_tree }} on the client side |
| 106 | +- name: git clone {{ target_linux_tree }} on the target nodes |
107 | 107 | git: |
108 | 108 | repo: "{{ target_linux_git }}" |
109 | 109 | dest: "{{ target_linux_dir_path }}" |
|
136 | 136 | run_once: true |
137 | 137 | delegate_to: localhost |
138 | 138 |
|
139 | | -- name: Copy kernel delta if requested on the client side |
| 139 | +- name: Copy kernel delta if requested on the target nodes |
140 | 140 | template: |
141 | 141 | src: "{{ target_linux_extra_patch }}" |
142 | 142 | dest: "{{ target_linux_dir_path }}/{{ target_linux_extra_patch }}" |
|
160 | 160 | run_once: true |
161 | 161 | delegate_to: localhost |
162 | 162 |
|
163 | | -- name: Apply kernel delta if requested on the client side |
| 163 | +- name: Apply kernel delta if requested on the target nodes |
164 | 164 | command: "git am {{ target_linux_extra_patch }}" |
165 | 165 | args: |
166 | 166 | chdir: "{{ target_linux_dir_path }}" |
|
200 | 200 | when: |
201 | 201 | - target_linux_apply_patch_message_id is defined |
202 | 202 |
|
203 | | -- name: Apply message patch set if requested on the client side |
| 203 | +- name: Apply message patch set if requested on the target nodes |
204 | 204 | shell: b4 am -o - {{target_linux_apply_patch_message_id}} | git am |
205 | 205 | args: |
206 | 206 | chdir: "{{ target_linux_dir_path }}" |
|
313 | 313 | when: not config_stat.stat.exists |
314 | 314 | delegate_to: localhost |
315 | 315 |
|
316 | | -- name: Copy configuration for Linux {{ target_linux_tree }} on the client side |
| 316 | +- name: Copy configuration for Linux {{ target_linux_tree }} to the target nodes |
317 | 317 | template: |
318 | 318 | src: "{{ linux_config }}" |
319 | 319 | dest: "{{ target_linux_dir_path }}/.config" |
|
335 | 335 | run_once: true |
336 | 336 | delegate_to: localhost |
337 | 337 |
|
338 | | -- name: Set kernel localversion if requested on the client side |
| 338 | +- name: Set kernel localversion if requested on the target nodes |
339 | 339 | shell: "echo {{ target_linux_localversion }} > {{ target_linux_dir_path }}/localversion" |
340 | 340 | tags: [ 'linux', 'git', 'config' ] |
341 | 341 | when: |
|
351 | 351 | run_once: true |
352 | 352 | delegate_to: localhost |
353 | 353 |
|
354 | | -- name: Configure Linux {{ target_linux_tree }} on the client side |
| 354 | +- name: Configure Linux {{ target_linux_tree }} on the target nodes |
355 | 355 | shell: | |
356 | 356 | set -o pipefail |
357 | 357 | yes "" | make oldconfig |
|
381 | 381 | run_once: true |
382 | 382 | delegate_to: localhost |
383 | 383 |
|
384 | | -- name: Build {{ target_linux_tree }} on the client side |
| 384 | +- name: Build {{ target_linux_tree }} on the target nodes |
385 | 385 | command: "{{ target_linux_make_cmd }}" |
386 | 386 | register: build |
387 | 387 | changed_when: "build.rc == 0" |
|
391 | 391 | when: |
392 | 392 | - not bootlinux_9p|bool |
393 | 393 |
|
394 | | -- name: Build {{ target_linux_tree }} cxl_test on the client side |
| 394 | +- name: Build {{ target_linux_tree }} cxl_test on the target nodes |
395 | 395 | command: "{{ target_linux_make_cmd }} M=tools/testing/cxl" |
396 | 396 | register: build_cxl_test |
397 | 397 | changed_when: "build_cxl_test.rc == 0" |
|
603 | 603 | tags: [ 'linux', 'git', 'config', 'saved' ] |
604 | 604 | when: ansible_facts['os_family']|lower == 'redhat' |
605 | 605 |
|
606 | | -- name: Install {{ target_linux_tree }} on the client side |
| 606 | +- name: Install {{ target_linux_tree }} on the target nodes |
607 | 607 | become: yes |
608 | 608 | become_flags: 'su - -c' |
609 | 609 | become_method: sudo |
|
614 | 614 | chdir: "{{ target_linux_dir_path }}" |
615 | 615 | tags: [ 'linux', 'install-linux' ] |
616 | 616 |
|
617 | | -- name: Install {{ target_linux_tree }} cxl_test on the client side |
| 617 | +- name: Install {{ target_linux_tree }} cxl_test on the target nodes |
618 | 618 | become: yes |
619 | 619 | become_flags: 'su - -c' |
620 | 620 | become_method: sudo |
|
0 commit comments