Delete pre.yml

This commit is contained in:
qiaofeng1227 2022-07-25 11:35:54 +08:00 committed by GitHub
parent 7c0c389e01
commit 93d301077c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +0,0 @@
- pause:
prompt: |
Do you want to delete containers and images (y/n):
'y': Delete image
'n': Do not delete image
private: no
Default: 'y'
register: delete_image
- set_fact:
elk_delete_image: "{{delete_image.user_input}}"
- debug:
msg: "elk_delete_image is {{elk_delete_image}}"
- name: Set vm.max_map_count=262144 for hosted machine, otherwise ES start error
become: yes
sysctl:
name: vm.max_map_count
value: 262144
state: present
reload: yes