mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-01-11 05:57:17 +00:00
Compare commits
No commits in common. "586835c10285e22b2e7346e4c9816dad62f5ad19" and "a6e521986b7cf3243fe226568426bc7519c43e3a" have entirely different histories.
586835c102
...
a6e521986b
9 changed files with 15 additions and 44 deletions
|
|
@ -1,21 +0,0 @@
|
||||||
- name: Creating dotfiles dir
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: "{{ ansible_env.HOME }}/.config"
|
|
||||||
state: directory
|
|
||||||
mode: a
|
|
||||||
|
|
||||||
- name: Creating local bin dir
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: "{{ ansible_env.HOME }}/.local/bin"
|
|
||||||
state: directory
|
|
||||||
mode: a
|
|
||||||
|
|
||||||
- name: Getting programs list to check fish presence
|
|
||||||
ansible.builtin.package_facts:
|
|
||||||
manager: auto
|
|
||||||
|
|
||||||
- name: Updating fish path to include local bin dir
|
|
||||||
ansible.builtin.shell: fish_add_path -m {{ ansible_env.HOME }}/.local/bin
|
|
||||||
args:
|
|
||||||
executable: /usr/bin/fish
|
|
||||||
changed_when: false
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
bin_install_path: '{{ ansible_env.HOME }}/.local/bin'
|
|
||||||
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
remote_src: true
|
remote_src: true
|
||||||
src: "https://github.com/typst/typst/releases/download/{{ typst_version.tag }}/typst-x86_64-unknown-linux-musl.tar.xz"
|
src: "https://github.com/typst/typst/releases/download/{{ typst_version.tag }}/typst-x86_64-unknown-linux-musl.tar.xz"
|
||||||
dest: "{{ bin_install_path }}/"
|
dest: "/usr/bin/"
|
||||||
keep_newer: true
|
keep_newer: true
|
||||||
mode: a+x
|
mode: a+x
|
||||||
extra_opts:
|
extra_opts:
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
remote_src: true
|
remote_src: true
|
||||||
src: "https://github.com/Myriad-Dreamin/tinymist/releases/download/{{ tinymist_version.tag }}/tinymist-x86_64-unknown-linux-gnu.tar.gz"
|
src: "https://github.com/Myriad-Dreamin/tinymist/releases/download/{{ tinymist_version.tag }}/tinymist-x86_64-unknown-linux-gnu.tar.gz"
|
||||||
dest: "{{ bin_install_path }}/"
|
dest: "/usr/bin/"
|
||||||
mode: a+x
|
mode: a+x
|
||||||
keep_newer: true
|
keep_newer: true
|
||||||
extra_opts:
|
extra_opts:
|
||||||
|
|
@ -51,12 +51,12 @@
|
||||||
remote_src: true
|
remote_src: true
|
||||||
# TODO: insert v before version ??
|
# TODO: insert v before version ??
|
||||||
src: "https://github.com/blopker/codebook/releases/download/{{ codebook_version.tag }}/codebook-lsp-x86_64-unknown-linux-musl.tar.gz"
|
src: "https://github.com/blopker/codebook/releases/download/{{ codebook_version.tag }}/codebook-lsp-x86_64-unknown-linux-musl.tar.gz"
|
||||||
dest: "{{ bin_install_path }}/"
|
dest: "/usr/bin/"
|
||||||
mode: a+x
|
mode: a+x
|
||||||
keep_newer: true
|
keep_newer: true
|
||||||
extra_opts:
|
extra_opts:
|
||||||
# - --strip=1
|
- --strip=1
|
||||||
- --no-anchored
|
- --no-anchored
|
||||||
- 'codebook-lsp'
|
- codebook-lsp
|
||||||
|
|
||||||
# TODO: codebook setup (add to helix config, etc.)
|
# TODO: codebook setup (add to helix config, etc.)
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
bin_install_path: '{{ ansible_env.HOME }}/.local/bin'
|
|
||||||
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
- name: Common actions
|
- name: Creating dotfiles dir
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.file:
|
||||||
name: common
|
path: "{{ ansible_env.HOME }}/.config"
|
||||||
|
state: directory
|
||||||
|
mode: a
|
||||||
|
|
||||||
- name: Bash config
|
- name: Bash config
|
||||||
ansible.builtin.import_tasks: bash.yml
|
ansible.builtin.import_tasks: bash.yml
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
bin_install_path: '{{ ansible_env.HOME }}/.local/bin'
|
|
||||||
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
- name: Common actions
|
|
||||||
ansible.builtin.include_role:
|
|
||||||
name: common
|
|
||||||
|
|
||||||
- name: Installing ansible packages
|
- name: Installing ansible packages
|
||||||
ansible.builtin.import_tasks: ansible.yml
|
ansible.builtin.import_tasks: ansible.yml
|
||||||
when: "'ansible' in apps"
|
when: "'ansible' in apps"
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "https://github.com/Snawoot/hola-proxy/releases/download/{{ hola_version.tag }}/hola-proxy.linux-amd64"
|
url: "https://github.com/Snawoot/hola-proxy/releases/download/{{ hola_version.tag }}/hola-proxy.linux-amd64"
|
||||||
dest: "{{ bin_install_path }}/hola-proxy"
|
dest: "/usr/bin/hola-proxy"
|
||||||
mode: a+x
|
mode: a+x
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
- name: Installing opera-proxy {{ opera_version.tag }}
|
- name: Installing opera-proxy {{ opera_version.tag }}
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "https://github.com/Snawoot/opera-proxy/releases/download/{{ opera_version.tag }}/opera-proxy.linux-amd64"
|
url: "https://github.com/Snawoot/opera-proxy/releases/download/{{ opera_version.tag }}/hola-proxy.linux-amd64"
|
||||||
dest: "{{ bin_install_path }}/opera-proxy"
|
dest: "/usr/bin/hola-proxy"
|
||||||
mode: a+x
|
mode: a+x
|
||||||
force: true
|
force: true
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
remote_src: true
|
remote_src: true
|
||||||
src: "https://github.com/InioX/matugen/releases/download/v2.4.1/matugen-2.4.1-x86_64.tar.gz"
|
src: "https://github.com/InioX/matugen/releases/download/v2.4.1/matugen-2.4.1-x86_64.tar.gz"
|
||||||
dest: "{{ bin_install_path }}/"
|
dest: "/usr/bin/" # TODO: user local install (?)
|
||||||
mode: a+x
|
mode: a+x
|
||||||
keep_newer: true
|
keep_newer: true
|
||||||
extra_opts:
|
extra_opts:
|
||||||
|
|
@ -64,6 +64,6 @@
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "https://github.com/AvengeMedia/dgop/releases/download/{{ dgop_version.tag }}/dgop-{{ dgop_version.tag }}-linux-amd64"
|
url: "https://github.com/AvengeMedia/dgop/releases/download/{{ dgop_version.tag }}/dgop-{{ dgop_version.tag }}-linux-amd64"
|
||||||
dest: "{{ bin_install_path }}/dgop"
|
dest: "/usr/bin/dgop" # TODO: user local install (?)
|
||||||
mode: a+x
|
mode: a+x
|
||||||
force: true
|
force: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue