Add Debian backports role

mail_server
Alexandre Iooss 5 years ago
parent 9cb3d49678
commit ce5bc76853

@ -2,5 +2,6 @@
# Install EtherPad on EtherPad containers
- hosts: pad.adm.auro.re
roles:
- debian-backports
- etherpad

@ -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…
Cancel
Save