aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2022-09-15 11:46:59 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2022-09-15 11:46:59 +0200
commitcce0af328a2703bdd65722d3a708abc7bd047fa6 (patch)
tree4dbef2e59003508d7b1b2edfc24f03c4f4e26c71 /ansible
parent4b559395d6aa97925a2926bf88fd6015ad7e1b66 (diff)
downloadinfra-cce0af328a2703bdd65722d3a708abc7bd047fa6.tar.gz
infra-cce0af328a2703bdd65722d3a708abc7bd047fa6.tar.bz2
infra-cce0af328a2703bdd65722d3a708abc7bd047fa6.tar.xz
infra-cce0af328a2703bdd65722d3a708abc7bd047fa6.zip
repo cleanup
Diffstat (limited to 'ansible')
-rw-r--r--ansible/group_vars/all/apt-repos.yml2
-rw-r--r--ansible/group_vars/workstation/apt-repos.yml6
-rw-r--r--ansible/host_vars/hash/ops-agent.yml11
3 files changed, 15 insertions, 4 deletions
diff --git a/ansible/group_vars/all/apt-repos.yml b/ansible/group_vars/all/apt-repos.yml
index 6ec3b6a..931fcd3 100644
--- a/ansible/group_vars/all/apt-repos.yml
+++ b/ansible/group_vars/all/apt-repos.yml
@@ -38,7 +38,7 @@ apt_repos:
state: "{{ apt_repos_docker_state | default('absent') }}"
picoscope:
- url: http://labs.picotech.com/debian/
+ url: https://labs.picotech.com/rc/picoscope7/debian/
distro: picoscope
sections: main
key_id: 790128FE0D37172A2C56ACB16964D13AA2A43CCE
diff --git a/ansible/group_vars/workstation/apt-repos.yml b/ansible/group_vars/workstation/apt-repos.yml
index 5f43f27..7a4e1bf 100644
--- a/ansible/group_vars/workstation/apt-repos.yml
+++ b/ansible/group_vars/workstation/apt-repos.yml
@@ -1,6 +1,6 @@
apt_repos_atom_state: present
-apt_repos_balena_etcher_state: present
-apt_repos_dart_state: present
+apt_repos_balena_etcher_state: absent
+apt_repos_dart_state: absent
apt_repos_docker_state: absent # debian's version is up to date now
apt_repos_dropbox_state: present
apt_repos_google_cloud_sdk_state: present
@@ -8,7 +8,7 @@ apt_repos_google_state: present
apt_repos_heroku_state: present
apt_repos_nextcloud_state: absent # integrated into debian now
apt_repos_nodesource_state: absent
-apt_repos_openmodelica_state: present
+apt_repos_openmodelica_state: absent
apt_repos_picoscope_state: present
apt_repos_postgresql_state: absent
apt_repos_signal_state: present
diff --git a/ansible/host_vars/hash/ops-agent.yml b/ansible/host_vars/hash/ops-agent.yml
new file mode 100644
index 0000000..96faa11
--- /dev/null
+++ b/ansible/host_vars/hash/ops-agent.yml
@@ -0,0 +1,11 @@
+telegraf_extra_mount_points:
+ - /dev/disk
+ - /dev/sda
+ - /dev/sdb
+
+telegraf_sensors_enable: yes
+telegraf_smart_enable: yes
+# ls -1 /dev/disk/by-id/|grep ^ata|grep -v -- -part
+telegraf_smart_devices:
+ - ata-HGST_HUS724020ALA640_PN1138P2GJ65ZH
+ - ata-HGST_HUS724020ALA640_PN1138P2GJAXRH