From 4ac086dfee5e9866ebdf6d96af06e2da57c86ed6 Mon Sep 17 00:00:00 2001 From: Andrii Date: Fri, 6 Dec 2024 14:29:49 +0200 Subject: [PATCH] fix --- ansible1/roles/postgresql/tasks/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ansible1/roles/postgresql/tasks/main.yml b/ansible1/roles/postgresql/tasks/main.yml index 4b745bee2..6e920a3e2 100644 --- a/ansible1/roles/postgresql/tasks/main.yml +++ b/ansible1/roles/postgresql/tasks/main.yml @@ -8,8 +8,6 @@ shell: | curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" |sudo tee /etc/apt/sources.list.d/pgdg.list - args: - warn: false become: yes - name: Update APT cache @@ -24,7 +22,7 @@ state: present - name: Hold PostgreSQL version - shell: "apt-mark hold postgresql-{{ postges_version }} postgresql-contrib-{{ postges_version }}" + shell: "apt-mark hold postgresql-{{ postges_version }}" become: yes - name: Check installed PostgreSQL version