---
- name: Run rag-ingest
  ansible.builtin.command:
    cmd: /usr/local/bin/rag-ingest {{ rag_docs_dir }}
  changed_when: true
  async: 900
  poll: 15

- name: Restart hermes-agent
  ansible.builtin.systemd:
    name: hermes-agent
    state: restarted
