Require debian stretch, drop backports, cleanup
This commit is contained in:
parent
c5cd8bfe89
commit
632ccfc8ca
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,10 +1,11 @@
|
||||
---
|
||||
|
||||
- name: Install misc software
|
||||
apt: name={{ item }} state=present
|
||||
apt: name={{ item }}
|
||||
with_items:
|
||||
- dnsutils
|
||||
- htop
|
||||
- less
|
||||
- openssl
|
||||
- pydf
|
||||
- rsync
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Install packages
|
||||
apt: name={{ item }} state=present
|
||||
apt: name={{ item }}
|
||||
with_items:
|
||||
- postgresql
|
||||
- python-psycopg2
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user