Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
init
Commits
25af9fc6
Commit
25af9fc6
authored
Jun 21, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
china mirror omf
parent
f0fe225e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
defaults/main.yml
defaults/main.yml
+1
-0
tasks/fish.yml
tasks/fish.yml
+10
-0
No files found.
defaults/main.yml
View file @
25af9fc6
...
@@ -15,5 +15,6 @@ reboot: false
...
@@ -15,5 +15,6 @@ reboot: false
pip_executable_install
:
pip
pip_executable_install
:
pip
china_mirror_docker
:
false
china_mirror_docker
:
false
china_mirror_pip
:
false
china_mirror_pip
:
false
china_mirror_omf
:
false
cpufreq_policy
:
none
cpufreq_policy
:
none
vm_agents_status
:
present
vm_agents_status
:
present
tasks/fish.yml
View file @
25af9fc6
...
@@ -4,10 +4,20 @@
...
@@ -4,10 +4,20 @@
name
:
'
{{ansible_user_id}}'
name
:
'
{{ansible_user_id}}'
shell
:
/usr/bin/fish
shell
:
/usr/bin/fish
-
name
:
终端环境 fish omf
-
name
:
终端环境 fish omf
shell
:
curl -L http://get.oh-my.fish | fish
environment
:
NONINTERACTIVE
:
true
ASSUME_YES
:
true
when
:
china_mirror_omf
args
:
creates
:
'
~/.local/share/omf'
-
name
:
终端环境 fish omf China
shell
:
curl -L https://minio.mycard.moe:9000/nanahira/install_fish | fish
shell
:
curl -L https://minio.mycard.moe:9000/nanahira/install_fish | fish
environment
:
environment
:
NONINTERACTIVE
:
true
NONINTERACTIVE
:
true
ASSUME_YES
:
true
ASSUME_YES
:
true
OMF_REPO_URI
:
https://code.mycard.moe/nanahira/oh-my-fish
when
:
china_mirror_omf
args
:
args
:
creates
:
'
~/.local/share/omf'
creates
:
'
~/.local/share/omf'
-
name
:
终端环境 fish robbyrussell
-
name
:
终端环境 fish robbyrussell
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment