From 4e04c35f04c264d728587a54d0515eef0a42a44b Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Wed, 19 Apr 2017 18:17:40 +0200 Subject: build/: Make room for new deployment scheme --- roles/snmp/tasks/main.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 roles/snmp/tasks/main.yml (limited to 'roles/snmp/tasks') diff --git a/roles/snmp/tasks/main.yml b/roles/snmp/tasks/main.yml deleted file mode 100644 index 2cb7165..0000000 --- a/roles/snmp/tasks/main.yml +++ /dev/null @@ -1,23 +0,0 @@ -- file: - path: /opt/gondul/data - state: directory - mode: 0755 -- stat: - path: /opt/gondul/data/mibs - register: mibdir -- name: Get mibs - command: /opt/gondul/extras/tools/get_mibs.sh - args: - chdir: /opt/gondul/data/ - when: not mibdir.stat.exists - notify: restart gondul-snmp -- name: Add systemd service file for gondul-snmp - copy: - dest: /etc/systemd/system/gondul-snmp.service - src: gondul-snmp.service - notify: restart gondul-snmp -- name: Enable snmp service - systemd: - name: gondul-snmp.service - enabled: yes - notify: restart gondul-snmp -- cgit v1.2.3