From 03b43ff5316e807f3a3bcd19532118d0c4d372a2 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 8 Feb 2020 12:23:54 +0100 Subject: move emc-stats role to elevate sub dir --- roles/emc-stats/tasks/main.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 roles/emc-stats/tasks/main.yml (limited to 'roles/emc-stats') diff --git a/roles/emc-stats/tasks/main.yml b/roles/emc-stats/tasks/main.yml deleted file mode 100644 index e656c7f7..00000000 --- a/roles/emc-stats/tasks/main.yml +++ /dev/null @@ -1,30 +0,0 @@ ---- -- name: create volume group - when: emc_stats_lvm.pvs is defined - lvg: - vg: "{{ emc_stats_lvm.vg }}" - pvs: "{{ emc_stats_lvm.pvs }}" - -- name: create logical volume - lvol: - vg: "{{ emc_stats_lvm.vg }}" - lv: "{{ emc_stats_lvm.lv }}" - size: "{{ emc_stats_lvm.size }}" - -- name: create filesystem - filesystem: - fstype: "{{ emc_stats_lvm.fs }}" - dev: "/dev/mapper/{{ emc_stats_lvm.vg | replace('-', '--') }}-{{ emc_stats_lvm.lv | replace('-', '--') }}" - -- name: mount filesytem - mount: - src: "/dev/mapper/{{ emc_stats_lvm.vg | replace('-', '--') }}-{{ emc_stats_lvm.lv | replace('-', '--') }}" - path: /srv/stats - fstype: "{{ emc_stats_lvm.fs }}" - state: mounted - -# needed for elasticsearch -- name: increase vm.max_map_count - sysctl: - name: vm.max_map_count - value: "262144" -- cgit v1.2.3