Commit 034b2efc authored by nanahira's avatar nanahira

always use omf mirror install script

parent e4a600dc
Pipeline #8663 failed with stage
in 9 seconds
...@@ -4,21 +4,20 @@ ...@@ -4,21 +4,20 @@
name: '{{ansible_user_id}}' name: '{{ansible_user_id}}'
shell: /usr/bin/fish shell: /usr/bin/fish
when: ansible_user_id == "root" or not manual_fish_mode is defined when: ansible_user_id == "root" or not manual_fish_mode is defined
- name: 终端环境 fish omf - name: use mycard omf
shell: curl -L http://get.oh-my.fish | fish set_fact:
environment: omf_uri: https://code.mycard.moe/nanahira/oh-my-fish
NONINTERACTIVE: true when: china_mirror_omf
ASSUME_YES: true - name: use original omf
set_fact:
omf_uri: https://github.com/oh-my-fish/oh-my-fish
when: not china_mirror_omf when: not china_mirror_omf
args: - name: 终端环境 fish omf
creates: '~/.local/share/omf' shell: curl -L https://cdn02.moecube.com:444/init/install_fish | fish
- name: 终端环境 fish omf China
shell: curl -L https://cdn01.moecube.com/init/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 OMF_REPO_URI: '{{omf_uri}}'
when: china_mirror_omf
args: args:
creates: '~/.local/share/omf' creates: '~/.local/share/omf'
- name: 终端环境 fish robbyrussell - name: 终端环境 fish robbyrussell
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment