- Move all roles from playbooks/roles/ to roles/ - Update roles_path in ansible.cfg - Add cast user to common role - Create standalone podman role - Add semaphore role with Podman + Quadlet support
21 lines
448 B
YAML
21 lines
448 B
YAML
---
|
|
# ------------------------------------------------------------------------------
|
|
# FILE: roles/ollama/handlers/main.yml
|
|
# ------------------------------------------------------------------------------
|
|
|
|
- name: update apt cache
|
|
apt:
|
|
update_cache: yes
|
|
|
|
- name: update initramfs
|
|
command: update-initramfs -u
|
|
|
|
- name: reload systemd
|
|
systemd:
|
|
daemon_reload: yes
|
|
|
|
- name: restart ollama
|
|
systemd:
|
|
name: ollama
|
|
state: restarted
|