Skip to content

Commit

Permalink
Add lustre_repo variable (#563)
Browse files Browse the repository at this point in the history
* Add lustre_repo variable

This allows users to configure the git repository used to build lustre.
In some environments external ssh is blocked, so I've been using this
https mirror:

https://github.com/lustre/lustre-release.git

* Rename lustre_repo default to lustre_git_repo

---------

Co-authored-by: Matt Anson <[email protected]>
  • Loading branch information
jovial and m-bull authored Feb 13, 2025
1 parent 9816980 commit ea6e756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ansible/roles/lustre/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ lustre_mount_state: mounted
lustre_mount_options: 'defaults,_netdev,noauto,x-systemd.automount,x-systemd.requires=lnet.service'

# below variables are for build and should not generally require changes
lustre_git_repo: "git://git.whamcloud.com/fs/lustre-release.git"
lustre_build_packages:
- "kernel-devel-{{ ansible_kernel }}"
- git
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/lustre/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- name: Clone lustre git repo
# https://git.whamcloud.com/?p=fs/lustre-release.git;a=summary
ansible.builtin.git:
repo: git://git.whamcloud.com/fs/lustre-release.git
repo: "{{ lustre_git_repo }}"
dest: "{{ lustre_build_dir }}"
version: "{{ lustre_version }}"

Expand Down

0 comments on commit ea6e756

Please sign in to comment.