aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjur Fredriksen <sjurtf@ifi.uio.no>2023-02-08 21:48:12 +0100
committerSjur Fredriksen <sjurtf@ifi.uio.no>2023-02-08 21:48:12 +0100
commit549006f22ea8c2cc666475a295caa9213c5608cd (patch)
tree6c771e5d6765703d29df411c7fb96f142166ece2
parent039c05406a8cc29ab4867ffdef1b51890ef694dc (diff)
some adjustments to playbooks for debian 11tg23-ansiblekek
-rw-r--r--ansible/roles/influx/tasks/main.yml2
-rw-r--r--ansible/roles/postgres/tasks/main.yml2
-rw-r--r--ansible/roles/web/tasks/main.yml4
-rwxr-xr-xextras/tools/get_mibs.sh10
4 files changed, 9 insertions, 9 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.
diff --git a/extras/tools/get_mibs.sh b/extras/tools/get_mibs.sh
index 0ae0ff8..ad09262 100755
--- a/extras/tools/get_mibs.sh
+++ b/extras/tools/get_mibs.sh
@@ -5,13 +5,13 @@ TMP=$(mktemp -d)
set -x
set -e
cd $TMP
-wget ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz
-wget https://www.juniper.net/techpubs/software/junos/junos151/juniper-mibs-15.1R3.6.tgz
-tar xvzf v2.tar.gz --strip-components=2
-tar xvzf juniper-mibs-15.1R3.6.tgz
+#wget ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz
+wget https://www.juniper.net/techpubs/software/junos/junos223/juniper-mibs-22.3R1.12.tar
+#tar xvzf v2.tar.gz --strip-components=2
+tar xvf juniper-mibs-22.3R1.12.tar
mkdir -p mibs
-mv v2 mibs/CiscoMibs
+#mv v2 mibs/CiscoMibs
mv StandardMibs JuniperMibs mibs/
mv mibs ${ORIGPWD}/
cd ${ORIGPWD}