Add glenuxnet apt.conf (set to basesystem target).

This commit is contained in:
Glenn Y. Rolland 2016-01-10 22:30:37 +01:00
parent 302aea49e2
commit 5347be5fc1
3 changed files with 51 additions and 0 deletions

View file

@ -1,2 +1,5 @@
---
# handlers file for glenux.basesystem
- name: Update APT cache
apt: update_cache=yes

View file

@ -1,4 +1,38 @@
---
- template:
src=apt_conf_glenuxnet_base.j2
dest=/etc/apt/apt.conf.d/00glenuxnet_base
owner=root
group=root
mode=0644
# Debian normal
- apt_repository: repo='deb http://ftp.fr.debian.org/debian/ stable main contrib non-free' state=present
notify: ['Update APT cache']
- apt_repository: repo='deb-src http://ftp.fr.debian.org/debian/ stable main contrib non-free' state=present
notify: ['Update APT cache']
- apt_repository: repo='deb http://ftp.fr.debian.org/debian/ testing main contrib non-free' state=present
notify: ['Update APT cache']
- apt_repository: repo='deb-src http://ftp.fr.debian.org/debian/ testing main contrib non-free' state=present
notify: ['Update APT cache']
- apt_repository: repo='deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free' state=present
notify: ['Update APT cache']
- apt_repository: repo='deb-src http://ftp.fr.debian.org/debian/ unstable main contrib non-free' state=present
notify: ['Update APT cache']
# Debian security
- apt_repository: repo='deb http://security.debian.org/ stable/updates main contrib non-free' state=present
notify: ['Update APT cache']
- apt_repository: repo='deb-src http://security.debian.org/ stable/updates main contrib non-free' state=present
notify: ['Update APT cache']
# Debian stable-update (ex-volatile)
- apt_repository: repo='deb http://ftp.fr.debian.org/debian/ stable-updates main contrib non-free' state=present
- apt_repository: repo='deb-src http://ftp.fr.debian.org/debian/ stable-updates main contrib non-free' state=present
- include: system.yml
- include: desktop.yml
- include: shopping.yml
@ -8,3 +42,4 @@
- include: office.yml
- include: security.yml
- include: shell.yml

View file

@ -0,0 +1,13 @@
Apt::Default-Release "{{ basesystem_release }}";
APT
{
Architecture "{{ basesystem_arch }}";
Get
{
Assume-Yes "false";
Fix-Broken "true";
AllowUnauthenticated "false";
};
};