merge common-bitlair into common
This commit is contained in:
parent
b210abc77e
commit
7d59c108d6
25 changed files with 93 additions and 42 deletions
8
roles/common/templates/apt.conf.j2
Normal file
8
roles/common/templates/apt.conf.j2
Normal file
|
@ -0,0 +1,8 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
{% if proxy_host is defined and proxy_host != "" %}
|
||||
Acquire::http::Proxy "http://{{ proxy_host }}:{{ proxy_port }}/";
|
||||
{% endif %}
|
||||
|
||||
# Don't download translation-files
|
||||
Acquire::Languages "none";
|
6
roles/common/templates/authorized_keys.j2
Normal file
6
roles/common/templates/authorized_keys.j2
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Managed by Ansible
|
||||
|
||||
{% for name in root_access %}
|
||||
# {{ name }}
|
||||
{{ lookup('file', 'authorized_keys/'+name+'.keys') }}
|
||||
{% endfor %}
|
|
@ -1,4 +0,0 @@
|
|||
# Managed by Ansible
|
||||
|
||||
deb http://ftp.nl.debian.org/debian/ {{ ansible_facts.distribution_release }}-backports main
|
||||
deb-src http://ftp.nl.debian.org/debian/ {{ ansible_facts.distribution_release }}-backports main
|
24
roles/common/templates/sources.list.j2
Normal file
24
roles/common/templates/sources.list.j2
Normal file
|
@ -0,0 +1,24 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
{% if debian_source_repos|default(false) %}
|
||||
{% set SRC = "" %}
|
||||
{% else %}
|
||||
{% set SRC = "# " %}
|
||||
{% endif %}
|
||||
{% set components = "main contrib non-free-firmware" %}
|
||||
|
||||
deb {{ debian_repourl }} {{ ansible_distribution_release }} {{ components }}
|
||||
{{ SRC }}deb-src {{ debian_repourl }} {{ ansible_distribution_release }} {{ components }}
|
||||
#
|
||||
# Updates
|
||||
deb {{ debian_repourl }} {{ ansible_distribution_release }}-updates {{ components }}
|
||||
{{ SRC }}deb-src {{ debian_repourl }} {{ ansible_distribution_release }}-updates {{ components }}
|
||||
#
|
||||
# Backports
|
||||
deb {{ debian_repourl }} {{ ansible_distribution_release }}-backports {{ components }}
|
||||
{{ SRC }}deb-src {{ debian_repourl }} {{ ansible_distribution_release }}-backports {{ components }}
|
||||
#
|
||||
# Security patches
|
||||
deb {{ debian_securityurl }} {{ ansible_distribution_release }}-security {{ components }}
|
||||
{{ SRC }}deb-src {{ debian_securityurl }} {{ ansible_distribution_release }}-security main contrib non- free
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
deb http://deb.debian.org/debian bookworm main non-free-firmware
|
||||
deb-src http://deb.debian.org/debian bookworm main non-free-firmware
|
||||
|
||||
deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
|
||||
deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
|
||||
|
||||
deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
|
||||
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware
|
Loading…
Add table
Add a link
Reference in a new issue