mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +02:00
improve bullseye integration
This commit is contained in:
parent
0c9068b0a5
commit
e1e343faed
4 changed files with 6 additions and 6 deletions
|
@ -5,7 +5,7 @@
|
|||
name: editor
|
||||
path: /usr/bin/vim.basic
|
||||
when:
|
||||
- editor_is_vim | bool
|
||||
- base__install_vim | bool
|
||||
- ansible_distribution != 'CentOS'
|
||||
- ansible_distribution != 'RedHat'
|
||||
- ansible_distribution != 'Archlinux'
|
||||
|
@ -17,7 +17,7 @@
|
|||
name: editor
|
||||
path: /usr/bin/vim
|
||||
when:
|
||||
- editor_is_vim | bool
|
||||
- base__install_vim | bool
|
||||
- ansible_distribution == 'CentOS'
|
||||
- ansible_distribution == 'RedHat'
|
||||
- ansible_distribution == 'Archlinux'
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
group: root
|
||||
owner: root
|
||||
notify: apt update
|
||||
when: ansible_distribution_major_version < '11'
|
||||
when: ansible_distribution_major_version > '10'
|
||||
|
||||
- name: add eth zurich apt for Debian < 11
|
||||
become: true
|
||||
|
|
|
@ -41,7 +41,7 @@ deb-src https://security.debian.ethz.ch/ {{ ansible_distribution_release }}-secu
|
|||
{%- endif -%}
|
||||
|
||||
{%- if base__pkg_updates -%}
|
||||
deb http://deb.debian.org/debian stable-updates main
|
||||
deb https://debian.ethz.ch/debian stable-updates main
|
||||
{%- if base__pkg_contrib | bool -%}
|
||||
{{- ' contrib' -}}
|
||||
{%- endif -%}
|
||||
|
@ -49,7 +49,7 @@ deb http://deb.debian.org/debian stable-updates main
|
|||
{{- ' non-free' -}}
|
||||
{%- endif -%}
|
||||
{{- '\n' -}}
|
||||
deb-src http://deb.debian.org/debian {{ ansible_distribution_release }}-updates main
|
||||
deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }}-updates main
|
||||
{%- if base__pkg_contrib | bool -%}
|
||||
{{- ' contrib' -}}
|
||||
{%- endif -%}
|
||||
|
|
|
@ -29,7 +29,7 @@ deb https://security.debian.ethz.ch/ {{ ansible_distribution_release }}/updates
|
|||
{{- ' non-free' -}}
|
||||
{%- endif -%}
|
||||
{{- '\n' -}}
|
||||
deb http://security.debian.org/ {{ ansible_distribution_release }}/updates main
|
||||
deb-src https://security.debian.ethz.ch/ {{ ansible_distribution_release }}/updates main
|
||||
{%- if base__pkg_contrib | bool -%}
|
||||
{{- ' contrib' -}}
|
||||
{%- endif -%}
|
||||
|
|
Loading…
Reference in a new issue