aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLasse Haugen <haugen.lasse@gmail.com>2019-01-13 21:21:51 +0100
committerLasse Haugen <haugen.lasse@gmail.com>2019-01-13 21:21:51 +0100
commit1cb5d90536de7fbbc812149c3c5f57842766342e (patch)
treea3e2ef3b8af2ae8008f7127fec4453f7c82133f1
parent9cf888fd6345642e47d750e1872aa82ad32985a8 (diff)
Update to debian9
-rw-r--r--INSTALLING.rst8
-rw-r--r--ansible/roles/postgres/tasks/main.yml4
2 files changed, 6 insertions, 6 deletions
diff --git a/INSTALLING.rst b/INSTALLING.rst
index 2a4bcb8..b04e226 100644
--- a/INSTALLING.rst
+++ b/INSTALLING.rst
@@ -4,8 +4,8 @@ Installing Gondul
Requirements
------------
-- Debian Stable (jessie) with backports (possibly newer)
-- Ansible v2.1 or newer (recommended: from backports)
+- Debian Stable (stretch) with backports (possibly newer)
+- Ansible v2.7 or newer (recommended: from backports)
- A harddrive of some size. Recommended: SSD. 200GB should be sufficient
for almost any party.
- CPU: Depends on client-load. Most semi-modern cpu's will be more than
@@ -27,9 +27,9 @@ As root:
# YOURUSER=kly
# apt-get install sudo git
# echo ${YOURUSER} ALL=NOPASSWD: ALL >> /etc/sudoers
- # echo deb http://http.debian.net/debian jessie-backports main non-free contrib > /etc/apt/sources.list.d/bp.list
+ # echo deb http://http.debian.net/debian stretch-backports main non-free contrib > /etc/apt/sources.list.d/bp.list
# apt-get update
- # apt-get install ansible/jessie-backports
+ # apt-get install ansible/stretch-backports
As ``$YOURUSER``::
diff --git a/ansible/roles/postgres/tasks/main.yml b/ansible/roles/postgres/tasks/main.yml
index 9adeafe..3073046 100644
--- a/ansible/roles/postgres/tasks/main.yml
+++ b/ansible/roles/postgres/tasks/main.yml
@@ -3,12 +3,12 @@
name: "{{ item }}"
state: present
with_items:
- - postgresql-9.4
+ - postgresql
- python-psycopg2
- sudo
- name: Drop postgresql-config
copy:
- dest: /etc/postgresql/9.4/main/postgresql.conf
+ dest: /etc/postgresql/9.6/main/postgresql.conf
src: postgresql.conf
- name: Add db to hosts
lineinfile: