diff --git a/uwsgi-python/tasks/apps/pgadmin4.yml b/uwsgi-python/tasks/apps/pgadmin4.yml index 9a8660daff13ef1cf4d9a23e99c70e6a6bf5e9eb..32dcda587404dec5eb495467dbbd900d78709cf3 100644 --- a/uwsgi-python/tasks/apps/pgadmin4.yml +++ b/uwsgi-python/tasks/apps/pgadmin4.yml @@ -13,7 +13,7 @@ - name: Enable Postgres APT repository apt_repository: # yamllint disable-line rule:line-length - repo: "deb https://apt.postgresql.org/pub/repos/apt/ {{ debian_version }}-pgdg main" + repo: "deb https://apt.postgresql.org/pub/repos/apt/ {{ ansible_distribution_release }}-pgdg main" - name: Debconf pgadmin4 debconf: @@ -35,7 +35,7 @@ apt: name: python3-flaskext.wtf default_release: stretch-pgdg - when: debian_version == "stretch" + when: ansible_distribution_release == "stretch" - name: Fix directory permissions file: