websoft9/apps/roles/elk/tasks/main.yml
2022-07-18 10:54:03 +08:00

23 lines
545 B
YAML

- name: Install {{appname}}
include_tasks: tasks/install.yml
vars:
app: "elk"
- 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: |
docker compose down -v
docker system prune --all --force
args:
chdir: /data/apps/elk
when: elk_delete_image == 'y'