Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiKhomik committed Dec 6, 2024
1 parent 1109662 commit 4ac086d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ansible1/roles/postgresql/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4ac086d

Please sign in to comment.