zot/tasks/main.yaml
2026-05-08 08:34:04 +02:00

23 lines
541 B
YAML

---
# load variables and collect version information
- name: "include vars and collect versions"
block:
# collect zot version information
- name: "collect version information"
ansible.builtin.shell:
cmd: "zot --version | head -n 1"
changed_when: false
failed_when: false
ignore_errors: true
register: "zot_current_version"
# zot install
- name: "zot install"
ansible.builtin.include_tasks: "install.yaml"
# zot config
- name: "zot config"
ansible.builtin.include_tasks: "config.yaml"