Skip to content

Commit ea6e756

Browse files
jovialm-bull
andauthored
Add lustre_repo variable (#563)
* 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]>
1 parent 9816980 commit ea6e756

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ansible/roles/lustre/defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ lustre_mount_state: mounted
66
lustre_mount_options: 'defaults,_netdev,noauto,x-systemd.automount,x-systemd.requires=lnet.service'
77

88
# below variables are for build and should not generally require changes
9+
lustre_git_repo: "git://git.whamcloud.com/fs/lustre-release.git"
910
lustre_build_packages:
1011
- "kernel-devel-{{ ansible_kernel }}"
1112
- git

ansible/roles/lustre/tasks/install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- name: Clone lustre git repo
77
# https://git.whamcloud.com/?p=fs/lustre-release.git;a=summary
88
ansible.builtin.git:
9-
repo: git://git.whamcloud.com/fs/lustre-release.git
9+
repo: "{{ lustre_git_repo }}"
1010
dest: "{{ lustre_build_dir }}"
1111
version: "{{ lustre_version }}"
1212

0 commit comments

Comments
 (0)