fixes with linter

This commit is contained in:
ProgramSnail 2025-08-09 11:47:58 +03:00
parent 932046cc39
commit 66109effc5
20 changed files with 124 additions and 111 deletions

View file

@ -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"

View file

@ -6,7 +6,7 @@
- kitty
- kitty-fish-integration
- alacritty
- kate
- okular
- gwenview
@ -15,4 +15,3 @@
- qt5-qtvirtualkeyboard
- hunspell-ru
state: latest

View file

@ -7,4 +7,3 @@
- powertop
- ansible
state: latest

View file

@ -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

View file

@ -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"

View file

@ -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"