From cfc70a9145fb47a9d8606ad17abbe1265bddc2f7 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 5 Apr 2020 16:04:00 +0300 Subject: [PATCH] Feat(postgres): Install PostgreSQL and docs --- playbooks/roles/postgres/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 playbooks/roles/postgres/tasks/main.yml diff --git a/playbooks/roles/postgres/tasks/main.yml b/playbooks/roles/postgres/tasks/main.yml new file mode 100644 index 0000000..c306d57 --- /dev/null +++ b/playbooks/roles/postgres/tasks/main.yml @@ -0,0 +1,11 @@ +- name: Install PostgreSQL packages For Debian + become: true + apt: + autoclean: yes + autoremove: yes + cache_valid_time: 3600 + install_recommends: no + name: ['postgresql', 'postgresql-doc'] + state: latest + update_cache: yes + when: ansible_facts.os_family == 'Debian' -- 2.39.5