mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-01-05 23:08:15 +00:00
add dotfiles (including kitty & alacritty themes), add proxies, add writing & haskell roles
This commit is contained in:
parent
46bdf4dda0
commit
6561d54f45
346 changed files with 15329 additions and 0 deletions
|
|
@ -18,3 +18,6 @@
|
|||
|
||||
- ansible.builtin.import_tasks: host.yml
|
||||
when: "'host' in apps"
|
||||
|
||||
- ansible.builtin.import_tasks: proxy.yml
|
||||
when: "'proxy' in apps"
|
||||
|
|
|
|||
33
roles/installs/tasks/proxy.yml
Normal file
33
roles/installs/tasks/proxy.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
- name: Get latest hola-proxy version
|
||||
community.general.github_release:
|
||||
user: Snawoot
|
||||
repo: hola-proxy
|
||||
action: latest_release
|
||||
register: hola_version
|
||||
|
||||
- name: "Installing hola-proxy {{ hola_version.tag }}"
|
||||
become: true
|
||||
ansible.builtin.get_url:
|
||||
remote_src: yes
|
||||
# TODO: insert v before version ??
|
||||
url: "https://github.com/Snawoot/hola-proxy/releases/download/{{ hola_version.tag }}/hola-proxy.linux-amd64"
|
||||
dest: "/usr/bin/hola-proxy"
|
||||
mode: a+x
|
||||
force: true
|
||||
|
||||
- name: Get latest opera-proxy version
|
||||
community.general.github_release:
|
||||
user: Snawoot
|
||||
repo: opera-proxy
|
||||
action: latest_release
|
||||
register: opera_version
|
||||
|
||||
- name: "Installing opera-proxy {{ opera_version.tag }}"
|
||||
become: true
|
||||
ansible.builtin.get_url:
|
||||
remote_src: yes
|
||||
# TODO: insert v before version ??
|
||||
url: "https://github.com/Snawoot/opera-proxy/releases/download/{{ opera_version.tag }}/hola-proxy.linux-amd64"
|
||||
dest: "/usr/bin/hola-proxy"
|
||||
mode: a+x
|
||||
force: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue