feat: initial commit
This commit is contained in:
parent
36ca871e90
commit
3063fd9b39
15 changed files with 242 additions and 93 deletions
23
tasks/main.yaml
Normal file
23
tasks/main.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
|
||||
# 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue