Add Debian backports role
parent
9cb3d49678
commit
ce5bc76853
@ -0,0 +1,7 @@
|
||||
# Rôle Debian Backports
|
||||
|
||||
Ce rôle Ansible permet de configurer le dépôt backports de Debian.
|
||||
|
||||
Il doit être exécuté en tant que super-utilisateur
|
||||
(option `-b` pour `--become`).
|
||||
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: Configure Debian Backports
|
||||
when: ansible_distribution == 'Debian'
|
||||
template:
|
||||
src: 'backports.list'
|
||||
dest: '/etc/apt/sources.list.d/backports.list'
|
||||
mode: 0644
|
||||
|
@ -0,0 +1,10 @@
|
||||
# /etc/apt/sources.list.d/backports.list
|
||||
# Deployed with Aurore Ansible !
|
||||
{# #}
|
||||
{# Default mirror #}
|
||||
{% if debian_mirror is not defined %}
|
||||
{% set debian_mirror = 'http://ftp.fr.debian.org/debian' %}
|
||||
{% endif %}
|
||||
|
||||
deb {{ debian_mirror }} {{ ansible_distribution_release }}-backports main
|
||||
|
Loading…
Reference in New Issue