mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-31 19:58:25 +00:00
fixes with linter
This commit is contained in:
parent
932046cc39
commit
66109effc5
20 changed files with 124 additions and 111 deletions
|
|
@ -31,6 +31,7 @@
|
|||
state: latest
|
||||
|
||||
- name: Clear trash automatically every 30 days
|
||||
ansible.builtin.shell:
|
||||
cmd: sh
|
||||
stdin: '(crontab -l ; echo "@daily $(which trash-empty) 30")'
|
||||
ansible.builtin.cron:
|
||||
name: "empty trash"
|
||||
special_time: "daily"
|
||||
job: "$(which trash-empty) 30"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
- kitty
|
||||
- kitty-fish-integration
|
||||
- alacritty
|
||||
|
||||
|
||||
- kate
|
||||
- okular
|
||||
- gwenview
|
||||
|
|
@ -15,4 +15,3 @@
|
|||
- qt5-qtvirtualkeyboard
|
||||
- hunspell-ru
|
||||
state: latest
|
||||
|
||||
|
|
|
|||
|
|
@ -7,4 +7,3 @@
|
|||
- powertop
|
||||
- ansible
|
||||
state: latest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
- ansible.builtin.import_tasks: cpp.yml
|
||||
|
||||
- name: Install tools for lang dev
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- tree-sitter-cli
|
||||
- libtree-sitter
|
||||
- libtree-sitter-devel
|
||||
state: latest
|
||||
|
|
@ -1,11 +1,15 @@
|
|||
- ansible.builtin.import_tasks: cli.yml
|
||||
- name: Install common cli apps
|
||||
ansible.builtin.import_tasks: cli.yml
|
||||
when: "'cli' in apps"
|
||||
|
||||
- ansible.builtin.import_tasks: gui.yml
|
||||
- name: Install common gui apps
|
||||
ansible.builtin.import_tasks: gui.yml
|
||||
when: "'gui' in apps"
|
||||
|
||||
- ansible.builtin.import_tasks: host.yml
|
||||
- name: Install pps for host
|
||||
ansible.builtin.import_tasks: host.yml
|
||||
when: "'host' in apps"
|
||||
|
||||
- ansible.builtin.import_tasks: proxy.yml
|
||||
- name: Install proxies
|
||||
ansible.builtin.import_tasks: proxy.yml
|
||||
when: "'proxy' in apps"
|
||||
|
|
|
|||
|
|
@ -3,12 +3,11 @@
|
|||
user: Snawoot
|
||||
repo: hola-proxy
|
||||
action: latest_release
|
||||
register: hola_version
|
||||
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"
|
||||
|
|
@ -20,12 +19,11 @@
|
|||
user: Snawoot
|
||||
repo: opera-proxy
|
||||
action: latest_release
|
||||
register: opera_version
|
||||
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue