Update file main.yml

This commit is contained in:
Administrator 2025-12-05 14:12:25 +05:00
parent 44ef9e48c9
commit b5cec53af8

View File

@ -22,15 +22,10 @@
project_src: "{{ flibusta_base_dir }}"
state: present
- name: update flibusta database
shell: |
docker exec flibusta_php php /application/tools/import.php --import
args:
executable: /bin/bash
- name: run daily update script
shell: |
cd {{ flibusta_base_dir }}
./update_daily.sh
args:
executable: /bin/bash
- name: update flibusta database via web
debug:
msg: |
Для обновления базы данных Flibusta выполните:
1. Зайдите в веб-интерфейс: http://{{ ansible_host }}:{{ flibusta_web_port }}
2. Перейдите в меню "Сервис"
3. Нажмите "Обновление базы"