From dcfbe46af573cfd0f9cad16da6eaebd8fdfb0a9b Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 30 Jul 2020 19:08:23 +0200 Subject: [PATCH] Missing argument. --- tasks/postgresql-config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/postgresql-config.yml b/tasks/postgresql-config.yml index a2563a0..b677438 100644 --- a/tasks/postgresql-config.yml +++ b/tasks/postgresql-config.yml @@ -103,7 +103,7 @@ block: - name: Create the postgresql log directory - file: dest={{ psql_log_dir }} owner=postgres group=postgres mode='0750' + file: dest={{ psql_log_dir }} state=directory owner=postgres group=postgres mode='0750' - name: Fix the SELinux rules for the postgresql log directory shell: semanage fcontext -a -a -t postgresql_db_t "{{ psql_log_dir }}(/.*)?" && restorecon -vR {{ psql_log_dir }}