diff options
author | Sjur Fredriksen <sjurtf@ifi.uio.no> | 2023-02-08 21:48:12 +0100 |
---|---|---|
committer | Sjur Fredriksen <sjurtf@ifi.uio.no> | 2023-02-08 21:48:12 +0100 |
commit | 549006f22ea8c2cc666475a295caa9213c5608cd (patch) | |
tree | 6c771e5d6765703d29df411c7fb96f142166ece2 /ansible | |
parent | 039c05406a8cc29ab4867ffdef1b51890ef694dc (diff) |
some adjustments to playbooks for debian 11tg23-ansiblekek
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/roles/influx/tasks/main.yml | 2 | ||||
-rw-r--r-- | ansible/roles/postgres/tasks/main.yml | 2 | ||||
-rw-r--r-- | ansible/roles/web/tasks/main.yml | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ansible/roles/influx/tasks/main.yml b/ansible/roles/influx/tasks/main.yml index 2f31b85..fc3571c 100644 --- a/ansible/roles/influx/tasks/main.yml +++ b/ansible/roles/influx/tasks/main.yml @@ -4,7 +4,7 @@ state: present - name: Import InfluxDB GPG signing key - apt_key: url=https://repos.influxdata.com/influxdb.key state=present + apt_key: url=https://repos.influxdata.com/influxdata-archive_compat.key state=present - name: Add InfluxDB repository apt_repository: repo='deb https://repos.influxdata.com/{{ ansible_distribution | lower }} {{ ansible_distribution_release | lower }} stable' state=present diff --git a/ansible/roles/postgres/tasks/main.yml b/ansible/roles/postgres/tasks/main.yml index 541a198..249d248 100644 --- a/ansible/roles/postgres/tasks/main.yml +++ b/ansible/roles/postgres/tasks/main.yml @@ -3,7 +3,7 @@ # - name: Install db-packages apt: - name: ['postgresql', 'python-psycopg2', 'sudo'] + name: ['postgresql', 'python3-psycopg2', 'sudo'] state: present - name: Add db to hosts lineinfile: diff --git a/ansible/roles/web/tasks/main.yml b/ansible/roles/web/tasks/main.yml index 3f80319..599035d 100644 --- a/ansible/roles/web/tasks/main.yml +++ b/ansible/roles/web/tasks/main.yml @@ -61,12 +61,12 @@ - name: Add packagecloud.io Varnish apt key. apt_key: - url: https://packagecloud.io/varnishcache/varnish63/gpgkey + url: https://packagecloud.io/varnishcache/varnish60lts/gpgkey state: present - name: Add packagecloud.io Varnish apt repository. apt_repository: - repo: "deb https://packagecloud.io/varnishcache/varnish63/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release }} main" + repo: "deb https://packagecloud.io/varnishcache/varnish60lts/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release }} main" state: present - name: Ensure Varnish is installed. |