Skip to content

Commit

Permalink
bootlinux: Replace the term "client side"
Browse files Browse the repository at this point in the history
For NFS developers, client side has a particular meaning. The
bootlinux role will set up NFS clients on target nodes, but also
the NFS, iSCSI, and krb5 servers. So "client side" is confusing.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
  • Loading branch information
chucklever committed Dec 30, 2024
1 parent cc719a2 commit 8ce7736
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions playbooks/roles/bootlinux/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
- bootlinux_tree_set_by_cli|bool
- not target_directory_stat.stat.exists

- name: git clone {{ target_linux_tree }} on the client side
- name: git clone {{ target_linux_tree }} on the target nodes
git:
repo: "{{ target_linux_git }}"
dest: "{{ target_linux_dir_path }}"
Expand Down Expand Up @@ -136,7 +136,7 @@
run_once: true
delegate_to: localhost

- name: Copy kernel delta if requested on the client side
- name: Copy kernel delta if requested on the target nodes
template:
src: "{{ target_linux_extra_patch }}"
dest: "{{ target_linux_dir_path }}/{{ target_linux_extra_patch }}"
Expand All @@ -160,7 +160,7 @@
run_once: true
delegate_to: localhost

- name: Apply kernel delta if requested on the client side
- name: Apply kernel delta if requested on the target nodes
command: "git am {{ target_linux_extra_patch }}"
args:
chdir: "{{ target_linux_dir_path }}"
Expand Down Expand Up @@ -200,7 +200,7 @@
when:
- target_linux_apply_patch_message_id is defined

- name: Apply message patch set if requested on the client side
- name: Apply message patch set if requested on the target nodes
shell: b4 am -o - {{target_linux_apply_patch_message_id}} | git am
args:
chdir: "{{ target_linux_dir_path }}"
Expand Down Expand Up @@ -313,7 +313,7 @@
when: not config_stat.stat.exists
delegate_to: localhost

- name: Copy configuration for Linux {{ target_linux_tree }} on the client side
- name: Copy configuration for Linux {{ target_linux_tree }} to the target nodes
template:
src: "{{ linux_config }}"
dest: "{{ target_linux_dir_path }}/.config"
Expand All @@ -335,7 +335,7 @@
run_once: true
delegate_to: localhost

- name: Set kernel localversion if requested on the client side
- name: Set kernel localversion if requested on the target nodes
shell: "echo {{ target_linux_localversion }} > {{ target_linux_dir_path }}/localversion"
tags: [ 'linux', 'git', 'config' ]
when:
Expand All @@ -351,7 +351,7 @@
run_once: true
delegate_to: localhost

- name: Configure Linux {{ target_linux_tree }} on the client side
- name: Configure Linux {{ target_linux_tree }} on the target nodes
shell: |
set -o pipefail
yes "" | make oldconfig
Expand Down Expand Up @@ -381,7 +381,7 @@
run_once: true
delegate_to: localhost

- name: Build {{ target_linux_tree }} on the client side
- name: Build {{ target_linux_tree }} on the target nodes
command: "{{ target_linux_make_cmd }}"
register: build
changed_when: "build.rc == 0"
Expand All @@ -391,7 +391,7 @@
when:
- not bootlinux_9p|bool

- name: Build {{ target_linux_tree }} cxl_test on the client side
- name: Build {{ target_linux_tree }} cxl_test on the target nodes
command: "{{ target_linux_make_cmd }} M=tools/testing/cxl"
register: build_cxl_test
changed_when: "build_cxl_test.rc == 0"
Expand Down Expand Up @@ -603,7 +603,7 @@
tags: [ 'linux', 'git', 'config', 'saved' ]
when: ansible_facts['os_family']|lower == 'redhat'

- name: Install {{ target_linux_tree }} on the client side
- name: Install {{ target_linux_tree }} on the target nodes
become: yes
become_flags: 'su - -c'
become_method: sudo
Expand All @@ -614,7 +614,7 @@
chdir: "{{ target_linux_dir_path }}"
tags: [ 'linux', 'install-linux' ]

- name: Install {{ target_linux_tree }} cxl_test on the client side
- name: Install {{ target_linux_tree }} cxl_test on the target nodes
become: yes
become_flags: 'su - -c'
become_method: sudo
Expand Down

0 comments on commit 8ce7736

Please # to comment.