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
20260dd4
Commit
20260dd4
authored
Oct 26, 2024
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python
parent
ca2a3dd5
Pipeline
#30738
failed with stage
in 60 minutes and 6 seconds
Changes
5
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1991 additions
and
5 deletions
+1991
-5
files/docker-service-patch.py
files/docker-service-patch.py
+1979
-0
tasks/docker.yml
tasks/docker.yml
+6
-0
tasks/fish.yml
tasks/fish.yml
+4
-4
tasks/nvidia.yml
tasks/nvidia.yml
+1
-1
tasks/pip.yml
tasks/pip.yml
+1
-0
No files found.
files/docker-service-patch.py
0 → 100644
View file @
20260dd4
This diff is collapsed.
Click to expand it.
tasks/docker.yml
View file @
20260dd4
...
...
@@ -41,6 +41,12 @@
executable
:
'
{{pip_executable}}'
extra_args
:
'
--no-build-isolation
--ignore-installed'
#when: ansible_python.version.major == 3
-
name
:
替换 compose/service.py 文件
become
:
true
copy
:
src
:
./docker-service-patch.py
dest
:
"
/usr/local/lib/python{{
ansible_python.version.major
}}.{{
ansible_python.version.minor
}}/dist-packages/compose/service.py"
backup
:
yes
-
name
:
docker 创建目录
become
:
true
file
:
...
...
tasks/fish.yml
View file @
20260dd4
...
...
@@ -6,9 +6,9 @@
when
:
ansible_user_id == "root" or not manual_fish_mode is defined
-
name
:
use mycard omf
set_fact
:
omf_uri
:
https://code.m
ycard.moe
/nanahira/oh-my-fish
omf_install_uri_prefix
:
https://code.m
ycard.moe
/nanahira/oh-my-fish/-
robbyrussell_path
:
https://code.m
ycard.moe
/nanahira/theme-robbyrussell
omf_uri
:
https://code.m
oenext.com
/nanahira/oh-my-fish
omf_install_uri_prefix
:
https://code.m
oenext.com
/nanahira/oh-my-fish/-
robbyrussell_path
:
https://code.m
oenext.com
/nanahira/theme-robbyrussell
when
:
china_mirror_omf
-
name
:
use original omf
set_fact
:
...
...
@@ -29,7 +29,7 @@
-
name
:
change omf mirror
when
:
china_mirror_omf
copy
:
content
:
https://code.m
ycard.moe
/nanahira/omf-packages-main master
content
:
https://code.m
oenext.com
/nanahira/omf-packages-main master
dest
:
'
~/.local/share/omf/repositories'
when
:
china_mirror_omf and not (ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int < 22)
-
name
:
终端环境 fish robbyrussell
...
...
tasks/nvidia.yml
View file @
20260dd4
...
...
@@ -11,7 +11,7 @@
-
name
:
nvidia-patch repo
git
:
dest
:
/tmp/nvidia-patch
repo
:
https://code.m
ycard.moe
/nanahira/nvidia-patch
repo
:
https://code.m
oenext.com
/nanahira/nvidia-patch
recursive
:
false
-
name
:
patch
include_tasks
:
nvidia_patch.yml
...
...
tasks/pip.yml
View file @
20260dd4
...
...
@@ -87,6 +87,7 @@
name
:
pip
executable
:
'
{{pip_executable_install}}'
state
:
latest
ignore_errors
:
true
#when: ansible_python.version.major == 3
-
name
:
check pip location
shell
:
whereis pip | sed -e 's/ /\n/g' | grep bin/pip | tail -n
1
...
...
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