summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorRomain Porte <microjoe@microjoe.org>2019-12-01 21:23:05 +0100
committerRomain Porte <microjoe@microjoe.org>2020-05-08 20:31:46 +0200
commit12667986a94aff8476ac50409a53e444af774533 (patch)
treea0f23cfa8b45b58fd3b9406157e3670dc2fc9e1d /tasks
parentadc7d70e6e55c156a397edfef37287b76cd583e1 (diff)
downloadMicroJoe.ttrss-12667986a94aff8476ac50409a53e444af774533.tar.gz
MicroJoe.ttrss-12667986a94aff8476ac50409a53e444af774533.zip
debian buster update
Diffstat (limited to 'tasks')
-rw-r--r--tasks/main.yml23
1 files changed, 15 insertions, 8 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index 9a97014..11db67c 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -1,6 +1,9 @@
---
# tasks file for MicroJoe.ttrss
+- name: Ensure "{{ ttrss_group }}" group exists
+ group:
+ name: "{{ ttrss_group }}"
- name: Ensure user exists
user:
@@ -10,13 +13,16 @@
- name: Install dependencies
apt:
- name: "{{ item }}"
+ name:
+ - php-curl
+ - php-fpm
+ - php-intl
+ - php-mbstring
+ - php-pgsql
+ - php-xml
+ - postgresql
+ - python-psycopg2
state: present
- with_items:
- - python-psycopg2
- - postgresql
- - php-pgsql
- - php-curl
- name: Create ttrss base directory
file:
@@ -31,6 +37,7 @@
git:
repo: "{{ ttrss_repository }}"
dest: "{{ ttrss_base }}"
+ version: "{{ ttrss_version }}"
register: git_updated
# PostgreSQL commands
@@ -78,11 +85,11 @@
- name: Install php-fpm pool configuration file
template:
src: templates/php-fpm.conf
- dest: /etc/php/7.0/fpm/pool.d/ttrss.conf
+ dest: /etc/php/7.3/fpm/pool.d/ttrss.conf
notify: restart php-fpm
- name: Verify php-fpm configuration
- command: php-fpm7.0 --test
+ command: php-fpm7.3 --test
changed_when: false
# Install update feed systemd service