Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
v-kamerdinerov committed Oct 12, 2024
1 parent f479df6 commit f8d386d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions roles/common/tasks/kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@
- apt-transport-https
- ca-certificates
state: present
update_cache: yes
update_cache: true

- name: "Common | Kernel | Ensure additional dependencies are installed (on Ubuntu < 20.04 and any other systems)"
apt:
name: gnupg2
state: present
update_cache: yes
update_cache: true
when: ansible_distribution != 'Ubuntu' or ansible_distribution_version is version('20.04', '<')

- name: "Common | Kernel | Ensure additional dependencies are installed (on Ubuntu >= 20.04)"
apt:
name: gnupg
state: present
update_cache: yes
update_cache: true
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '>=')


Expand Down
6 changes: 3 additions & 3 deletions roles/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
- apt-transport-https
- ca-certificates
state: present
update_cache: yes
update_cache: true
when: docker_add_repo | bool

- name: "Docker | Ensure additional dependencies are installed (on Ubuntu < 20.04 and any other systems)."
apt:
name: gnupg2
state: present
update_cache: yes
update_cache: true
when: ansible_distribution != 'Ubuntu' or ansible_distribution_version is version('20.04', '<')

- name: "Docker | Ensure additional dependencies are installed (on Ubuntu >= 20.04)."
apt:
name: gnupg
state: present
update_cache: yes
update_cache: true
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '>=')

- name: "Docker | Add Docker apt key."
Expand Down
6 changes: 3 additions & 3 deletions roles/marzban/tasks/warp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
- apt-transport-https
- ca-certificates
state: present
update_cache: yes
update_cache: true
when: marzban_warp_add_repo | bool

- name: "Marzban | Warp | Ensure additional dependencies are installed (on Ubuntu < 20.04 and any other systems)."
apt:
name: gnupg2
state: present
update_cache: yes
update_cache: true
when: ansible_distribution != 'Ubuntu' or ansible_distribution_version is version('20.04', '<')

- name: "Marzban | Warp | Ensure additional dependencies are installed (on Ubuntu >= 20.04)."
apt:
name: gnupg
state: present
update_cache: yes
update_cache: true
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '>=')

- name: "Marzban | Warp | Add cloudflare-warp apt key."
Expand Down

0 comments on commit f8d386d

Please sign in to comment.