From f9320086bf95aacf3d0788aeed376f1650b526b8 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Tue, 23 Apr 2024 17:49:14 -0500 Subject: [PATCH] Free up dep on snmpd --- playbooks/tags_snmp.yml | 31 ------------------------------- requirements.yml | 3 --- 2 files changed, 34 deletions(-) delete mode 100755 playbooks/tags_snmp.yml diff --git a/playbooks/tags_snmp.yml b/playbooks/tags_snmp.yml deleted file mode 100755 index e033a74..0000000 --- a/playbooks/tags_snmp.yml +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env ansible-playbook -# vim:ft=ansible: ---- -- hosts: tags_snmp - gather_facts: no - roles: - - role: oefenweb.snmpd - vars: - snmpd_internal_user: - username: "{{ secret_snmp_internal_username }}" - password: "{{ secret_snmp_internal_password }}" - auth_protocol: SHA - snmpd_users: - - username: "{{ secret_snmp_rouser_username }}" - password: "{{ secret_snmp_rouser_password }}" - type: rouser - auth_protocol: SHA - privacy_passphrase: "{{ secret_snmp_rouser_privacy_passphrase }}" - privacy_protocol: AES - snmpd_disks_include_all: yes - snmpd_disks_include_all_threshold_minpercent: "10%" - tags: [ snmp ] -- hosts: all - gather_facts: no - tasks: - - name: disable snmpd when not tagged - ansible.builtin.systemd: name={{ item }} state=stopped enabled=no - with_items: - - snmpd.service - when: "'tags_snmp' not in group_names and item in services" - tags: [ zerotier ] diff --git a/requirements.yml b/requirements.yml index b74d15c..0640176 100644 --- a/requirements.yml +++ b/requirements.yml @@ -15,9 +15,6 @@ roles: # Upstream: https://github.com/geerlingguy/ansible-role-postgresql - src: geerlingguy.postgresql version: 3.5.0 - # Upstream: https://github.com/Oefenweb/ansible-snmpd - - src: oefenweb.snmpd - version: master # Upstream: https://github.com/willshersystems/ansible-sshd - src: willshersystems.sshd version: v0.23.0