Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ffbs
ffbs-ansible
Commits
97f7df18
Commit
97f7df18
authored
Mar 24, 2019
by
Jan Luebbe
Browse files
apt: create sources.list without debops
parent
fcc3cb10
Changes
6
Hide whitespace changes
Inline
Side-by-side
README.rst
View file @
97f7df18
...
...
@@ -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:
...
...
group_vars/all/vars
View file @
97f7df18
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'
playbook.yml
View file @
97f7df18
...
...
@@ -3,8 +3,6 @@
become
:
True
roles
:
-
users
-
role
:
debops.apt_preferences
-
role
:
debops.apt
-
common
-
wireguard
-
hosts
:
WebServers
...
...
requirements.yml
deleted
100644 → 0
View file @
fcc3cb10
# ansible-galaxy install -r requirements.yml
-
src
:
debops.apt
-
src
:
debops.apt_preferences
roles/common/tasks/std-packages.yml
View file @
97f7df18
...
...
@@ -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
...
...
roles/common/templates/sources.list.j2
0 → 100644
View file @
97f7df18
# {{ 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment