Require debian stretch, drop backports, cleanup

This commit is contained in:
Markus 2017-06-30 11:59:14 +02:00
parent c5cd8bfe89
commit 632ccfc8ca
13 changed files with 15 additions and 37 deletions

View File

@ -7,7 +7,7 @@ The python package netaddr is required on the host running ansible.
The vault password must be stored in `.vault_pass`.
The *only* supported distribution to deploy roles on is debian jessie.
The *only* supported distribution to deploy roles on is debian stretch.
## Running Ansible

View File

@ -1,13 +1,7 @@
---
- name: Enable backports
apt_repository: repo='deb http://httpredir.debian.org/debian jessie-backports main' state=present
- name: Install linux-image
apt: name=linux-image-amd64 default_release=jessie-backports state=latest
- name: Install batctl
apt: name=batctl default_release=jessie-backports state=latest
apt: name=batctl state=latest
- name: Enable batman during boot
lineinfile: dest=/etc/modules line=batman-adv

View File

@ -1,18 +1,13 @@
---
- name: Enable backports
apt_repository: repo='deb http://httpredir.debian.org/debian jessie-backports main' state=present
- name: Install dependencies
apt: name={{ item }} state=present
apt: name={{ item }}
with_items:
- git
- python-dateutil
- python-openssl
- python-yaml
- name: Install python-openssl
apt: name=python-openssl default_release=jessie-backports state=latest
- name: Install acertmgr
git: repo=https://github.com/moepman/acertmgr.git dest=/opt/acertmgr depth=1 version=480337648699cfbe321774dee1d8aa82eb27b626

View File

@ -1,10 +1,11 @@
---
- name: Install misc software
apt: name={{ item }} state=present
apt: name={{ item }}
with_items:
- dnsutils
- htop
- less
- openssl
- pydf
- rsync

View File

@ -1,7 +1,7 @@
---
- name: Install packages
apt: name={{ item }} state=present
apt: name={{ item }}
with_items:
- postgresql
- python-psycopg2

View File

@ -1,7 +1,7 @@
---
- name: Install dhcp server
apt: name=isc-dhcp-server state=latest
apt: name=isc-dhcp-server
- name: Configure dhcp server
template: src=dhcpd.conf.j2 dest=/etc/dhcp/dhcpd.conf

View File

@ -1,10 +1,7 @@
---
- name: Enable backports
apt_repository: repo='deb http://httpredir.debian.org/debian jessie-backports main' state=present
- name: Install powerdns
apt: name={{ item }} default_release=jessie-backports state=latest
apt: name={{ item }}
with_items:
# - pdns-server
- pdns-recursor

View File

@ -1,7 +1,7 @@
---
- name: Install iptables-persistent
apt: name=iptables-persistent state=present
apt: name=iptables-persistent
- name: Enable IPv4 routing
sysctl: name=net.ipv4.ip_forward value=1 state=present

View File

@ -1,10 +1,7 @@
---
- name: Enable backports
apt_repository: repo='deb http://httpredir.debian.org/debian jessie-backports main' state=present
- name: Install fastd
apt: name=fastd default_release=jessie-backports state=latest
apt: name=fastd state=latest
- name: Install haveged (to create entropy)
apt: name=haveged

View File

@ -1,13 +1,10 @@
---
- name: Enable backports
apt_repository: repo='deb http://httpredir.debian.org/debian jessie-backports main' state=present
- name: Install dependencies
apt: name=python-pkg-resources
- name: Install ifupdown2
apt: name=ifupdown2 default_release=jessie-backports state=latest
apt: name=ifupdown2 state=latest
- name: Uninstall ifupdown
apt: name=ifupdown state=absent

View File

@ -1,10 +1,7 @@
---
- name: Enable backports
apt_repository: repo='deb http://httpredir.debian.org/debian jessie-backports main' state=present
- name: Install nginx
apt: name=nginx-light default_release=jessie-backports state=latest
apt: name=nginx-light state=latest
- name: Create certificate directory
file: path=/etc/nginx/ssl state=directory mode=0750

View File

@ -1,7 +1,7 @@
---
- name: Install ntp
apt: name=ntp state=present
apt: name=ntp
- name: Configure ntp
template: src=ntp.conf.j2 dest=/etc/ntp.conf

View File

@ -29,7 +29,7 @@
service: name=yanic enabled=yes
- name: Install system publish unit
template: src={{item}} dest=/lib/systemd/system/{{item}}
template: src={{ item }} dest=/lib/systemd/system/{{ item }}
when: yanic_publisher
with_items:
- yanic-publish.service