Files
ouranos/ansible/anythingllm/stage.yml
Robert Helewka b4d60f2f38 docs: rewrite README with structured overview and quick start guide
Replaces the minimal project description with a comprehensive README
including a component overview table, quick start instructions, common
Ansible operations, and links to detailed documentation. Aligns with
Red Panda Approval™ standards.
2026-03-03 12:49:06 +00:00

30 lines
837 B
YAML

---
- name: Stage AnythingLLM release tarball
hosts: localhost
gather_facts: false
vars:
anythingllm_repo_dir: "{{github_dir}}/anything-llm"
archive_path: "{{rel_dir}}/anythingllm_{{anythingllm_rel}}.tar"
tasks:
- name: Ensure release directory exists
file:
path: "{{rel_dir}}"
state: directory
mode: '755'
- name: Fetch all remote branches and tags
ansible.builtin.command: git fetch --all
args:
chdir: "{{anythingllm_repo_dir}}"
- name: Pull latest changes
ansible.builtin.command: git pull
args:
chdir: "{{anythingllm_repo_dir}}"
- name: Create AnythingLLM archive for specified release
ansible.builtin.command: git archive -o "{{archive_path}}" "{{anythingllm_rel}}"
args:
chdir: "{{anythingllm_repo_dir}}"