Commit 97f7df18 authored by Jan Luebbe's avatar Jan Luebbe
Browse files

apt: create sources.list without debops

parent fcc3cb10
......@@ -49,12 +49,6 @@ Next, download the git repository and change into it:
git clone https://gitli.stratum0.org/ffbs/ffbs-ansible.git
cd ffbs-ansible
Install the used ansible galaxy roles:
::
ansible-galaxy install -r requirements.yml
Now you can start the machines, vagrant will download the images as necessary
and provision the machines after creating them:
......
apt__repositories:
- repo: 'deb http://deb.debian.org/debian testing main'
- repo: 'deb http://deb.debian.org/debian unstable main'
apt_preferences__list:
- '{{ apt_preferences__preset_list | list }}'
apt_mirror: 'http://debian.tu-bs.de/debian'
......@@ -3,8 +3,6 @@
become: True
roles:
- users
- role: debops.apt_preferences
- role: debops.apt
- common
- wireguard
- hosts: WebServers
......
# ansible-galaxy install -r requirements.yml
- src: debops.apt
- src: debops.apt_preferences
......@@ -3,6 +3,13 @@
src: 'policy-rc.d'
dest: '/usr/sbin/'
mode: 0755
- name: Cofigure APT sources
template:
src: "sources.list.j2"
dest: "/etc/apt/sources.list"
owner: "root"
group: "root"
mode: "0644"
- name: Install etckeeper package
become: true
apt: name=etckeeper update_cache=yes state=present
......
# {{ ansible_managed }}
deb {{ apt_mirror }} stretch main
deb {{ apt_mirror }} stretch-updates main
deb {{ apt_mirror }} stretch-backports main
deb http://security.debian.org/ stretch/updates main
deb {{ apt_mirror }} testing main
deb {{ apt_mirror }} unstable main
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment