-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ansible): add git-lfs role (#3027)
* feat(ansible): add git-lfs Signed-off-by: yukke42 <yusuke.muramatsu@tier4.jp> * Update ansible/roles/git_lfs/tasks/main.yaml Signed-off-by: yukke42 <yusuke.muramatsu@tier4.jp> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
- Loading branch information
1 parent
5fba5a1
commit ef48253
Showing
5 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Git Large File Storage | ||
|
||
This role installs Git LFS. You can access detailed information about Git LFS with [this link](https://git-lfs.github.com/). | ||
|
||
## Inputs | ||
|
||
None. | ||
|
||
## Manual Installation | ||
|
||
```bash | ||
git lfs install | ||
``` |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# https://github.com/git-lfs/git-lfs/wiki/Installation#debian-and-ubuntu | ||
- name: Download script | ||
ansible.builtin.get_url: | ||
url: https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | ||
dest: /tmp/script.sh | ||
mode: 0764 | ||
|
||
- name: Setup | ||
become: true | ||
environment: | ||
os: "{{ ansible_distribution }}" | ||
dist: "{{ ansible_distribution_release }}" | ||
ansible.builtin.script: /tmp/script.sh | ||
|
||
- name: Install Git LFS | ||
become: true | ||
ansible.builtin.apt: | ||
name: | ||
- git-lfs |