diff options
author | Christian Pointner <equinox@spreadspace.org> | 2018-04-21 23:28:35 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2018-04-21 23:28:35 +0200 |
commit | 2e5b51cc24b6f6c91e7f969fe14e3adc2d4e80f2 (patch) | |
tree | 6cbb61b2f17061fee06306a3ec2e58e2fc3e87de /roles/emc-stats/tasks/main.yaml | |
parent | updated google apt key (diff) |
rename all .yaml to .yml
Diffstat (limited to 'roles/emc-stats/tasks/main.yaml')
-rw-r--r-- | roles/emc-stats/tasks/main.yaml | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/roles/emc-stats/tasks/main.yaml b/roles/emc-stats/tasks/main.yaml deleted file mode 100644 index 69c7af01..00000000 --- a/roles/emc-stats/tasks/main.yaml +++ /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 |