websoft9/apps/roles/elk/tasks/main.yml

23 lines
545 B
YAML
Raw Normal View History

2022-07-08 17:00:21 +08:00
- name: Install {{appname}}
include_tasks: tasks/install.yml
vars:
app: "elk"
2022-05-17 17:09:10 +08:00
- name: wait for {{appname}} start
wait_for:
port: "{{nginx_reverse_proxy_port}}"
delay: 10
timeout: 300
- block:
- pause:
prompt: "Please login to Kibana UI and check it, then input Enter to continue"
echo: no
- name: Delete contains and images resources
shell: |
2022-06-30 10:03:55 +08:00
docker compose down -v
2022-05-17 17:09:10 +08:00
docker system prune --all --force
args:
2022-06-30 10:03:55 +08:00
chdir: /data/apps/elk
2022-05-17 17:09:10 +08:00
when: elk_delete_image == 'y'