From 58a81dc2ea748cf769d88b7515a39c6587d37ce2 Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 15 Jan 2021 15:48:42 +0100 Subject: Add nginx and sourcehut role --- roles/postgres/tasks/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 roles/postgres/tasks/main.yml (limited to 'roles/postgres/tasks') diff --git a/roles/postgres/tasks/main.yml b/roles/postgres/tasks/main.yml new file mode 100644 index 0000000..e032ff5 --- /dev/null +++ b/roles/postgres/tasks/main.yml @@ -0,0 +1,15 @@ + +# postgres ~~ roles/postgres/tasks/main.yml +# postgresql database server + +--- + +- name: ensure postgres is installed + package: name=postgresql state=present + ignore_errors: true + +- name: enable and restart postgres service + service: + name: postgresql + state: restarted + enabled: true -- cgit v1.2.3