From 1cb5d90536de7fbbc812149c3c5f57842766342e Mon Sep 17 00:00:00 2001 From: Lasse Haugen Date: Sun, 13 Jan 2019 21:21:51 +0100 Subject: Update to debian9 --- INSTALLING.rst | 8 ++++---- ansible/roles/postgres/tasks/main.yml | 4 ++-- 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: -- cgit v1.2.3