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