move around where logstash is settin up its disk
This commit is contained in:
parent
91b50f4b97
commit
ea9480d62c
1 changed files with 6 additions and 5 deletions
|
@ -24,11 +24,6 @@
|
||||||
tasks:
|
tasks:
|
||||||
- include: $tasks/cloud_setup_basic.yml
|
- include: $tasks/cloud_setup_basic.yml
|
||||||
|
|
||||||
- name: mount up disk of persistent storage
|
|
||||||
action: mount name=/srv/persist src='LABEL=logstash01' fstype=ext4 state=mounted
|
|
||||||
tags:
|
|
||||||
- mount_disk
|
|
||||||
|
|
||||||
# packages needed
|
# packages needed
|
||||||
- name: add packages for repo
|
- name: add packages for repo
|
||||||
action: yum state=present name=$item
|
action: yum state=present name=$item
|
||||||
|
@ -39,5 +34,11 @@
|
||||||
- httpd-tools
|
- httpd-tools
|
||||||
- cronie-noanacron
|
- cronie-noanacron
|
||||||
|
|
||||||
|
|
||||||
|
- name: mount up disk of persistent storage
|
||||||
|
action: mount name=/srv/persist src='LABEL=logstash01' fstype=ext4 state=mounted
|
||||||
|
tags:
|
||||||
|
- mount_disk
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: $handlers/restart_services.yml
|
- include: $handlers/restart_services.yml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue