Commit ee240a68 authored by nanahira's avatar nanahira

no omf below ubuntu 22

parent 4da0f77a
Pipeline #18799 failed with stage
in 10 minutes and 47 seconds
...@@ -25,17 +25,19 @@ ...@@ -25,17 +25,19 @@
args: args:
creates: '~/.local/share/omf' creates: '~/.local/share/omf'
ignore_errors: true ignore_errors: true
when: not (ansible_distribution == 'Ubuntu' and ansible_distribution_version_major | int < 22)
- name: change omf mirror - name: change omf mirror
when: china_mirror_omf when: china_mirror_omf
copy: copy:
content: https://code.mycard.moe/nanahira/omf-packages-main master content: https://code.mycard.moe/nanahira/omf-packages-main master
dest: '~/.local/share/omf/repositories' dest: '~/.local/share/omf/repositories'
when: china_mirror_omf when: china_mirror_omf and not (ansible_distribution == 'Ubuntu' and ansible_distribution_version_major | int < 22)
- name: 终端环境 fish robbyrussell - name: 终端环境 fish robbyrussell
shell: 'omf install {{robbyrussell_path}}' shell: 'omf install {{robbyrussell_path}}'
args: args:
executable: /usr/bin/fish executable: /usr/bin/fish
creates: '~/.local/share/omf/themes/robbyrussell' creates: '~/.local/share/omf/themes/robbyrussell'
when: not (ansible_distribution == 'Ubuntu' and ansible_distribution_version_major | int < 22)
- name: 终端环境 fish 自动填充 - name: 终端环境 fish 自动填充
file: file:
name: '~/.config/fish/completions' name: '~/.config/fish/completions'
......
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