Files
ouranos/ansible/arke/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
764 B
YAML

---
- name: Stage Arke release tarball
hosts: localhost
gather_facts: false
vars:
archive_path: "{{rel_dir}}/arke_{{arke_rel}}.tar"
arke_repo_dir: "{{repo_dir}}/arke"
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: "{{arke_repo_dir}}"
- name: Pull latest changes
ansible.builtin.command: git pull
args:
chdir: "{{arke_repo_dir}}"
- name: Create Arke archive for specified release
ansible.builtin.command: git archive -o "{{archive_path}}" "{{arke_rel}}"
args:
chdir: "{{arke_repo_dir}}"