mirror of
https://github.com/roles-ansible/ansible_role_base.git
synced 2024-08-16 14:29:50 +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
|
name: editor
|
||||||
path: /usr/bin/vim.basic
|
path: /usr/bin/vim.basic
|
||||||
when:
|
when:
|
||||||
- editor_is_vim | bool
|
- base__install_vim | bool
|
||||||
- ansible_distribution != 'CentOS'
|
- ansible_distribution != 'CentOS'
|
||||||
- ansible_distribution != 'RedHat'
|
- ansible_distribution != 'RedHat'
|
||||||
- ansible_distribution != 'Archlinux'
|
- ansible_distribution != 'Archlinux'
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
name: editor
|
name: editor
|
||||||
path: /usr/bin/vim
|
path: /usr/bin/vim
|
||||||
when:
|
when:
|
||||||
- editor_is_vim | bool
|
- base__install_vim | bool
|
||||||
- ansible_distribution == 'CentOS'
|
- ansible_distribution == 'CentOS'
|
||||||
- ansible_distribution == 'RedHat'
|
- ansible_distribution == 'RedHat'
|
||||||
- ansible_distribution == 'Archlinux'
|
- ansible_distribution == 'Archlinux'
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
group: root
|
group: root
|
||||||
owner: root
|
owner: root
|
||||||
notify: apt update
|
notify: apt update
|
||||||
when: ansible_distribution_major_version < '11'
|
when: ansible_distribution_major_version > '10'
|
||||||
|
|
||||||
- name: add eth zurich apt for Debian < 11
|
- name: add eth zurich apt for Debian < 11
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -41,7 +41,7 @@ deb-src https://security.debian.ethz.ch/ {{ ansible_distribution_release }}-secu
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{%- if base__pkg_updates -%}
|
{%- 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 -%}
|
{%- if base__pkg_contrib | bool -%}
|
||||||
{{- ' contrib' -}}
|
{{- ' contrib' -}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
@ -49,7 +49,7 @@ deb http://deb.debian.org/debian stable-updates main
|
||||||
{{- ' non-free' -}}
|
{{- ' non-free' -}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{{- '\n' -}}
|
{{- '\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 -%}
|
{%- if base__pkg_contrib | bool -%}
|
||||||
{{- ' contrib' -}}
|
{{- ' contrib' -}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
|
@ -29,7 +29,7 @@ deb https://security.debian.ethz.ch/ {{ ansible_distribution_release }}/updates
|
||||||
{{- ' non-free' -}}
|
{{- ' non-free' -}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{{- '\n' -}}
|
{{- '\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 -%}
|
{%- if base__pkg_contrib | bool -%}
|
||||||
{{- ' contrib' -}}
|
{{- ' contrib' -}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
Loading…
Reference in a new issue