2022-10-26 09:11:02 +00:00
|
|
|
- hosts: all
|
|
|
|
tasks:
|
2023-02-13 09:57:08 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
package:
|
2024-02-26 23:22:01 +00:00
|
|
|
name:
|
2024-02-29 11:59:25 +00:00
|
|
|
- 'jq'
|
2024-02-26 23:22:01 +00:00
|
|
|
- 'just'
|
|
|
|
- 'ostree'
|
|
|
|
- 'python3-pyyaml'
|
|
|
|
- 'rpm-ostree'
|
2024-02-29 11:59:25 +00:00
|
|
|
- 'selinux-policy-targeted'
|
2023-02-13 09:57:08 +00:00
|
|
|
state: present
|
|
|
|
become: yes
|
2022-10-26 09:11:02 +00:00
|
|
|
- name: Validate manifests and scripts syntax
|
|
|
|
ansible.builtin.command:
|
2023-02-13 09:21:24 +00:00
|
|
|
chdir: "{{ zuul.project.src_dir }}"
|
2024-02-26 23:20:55 +00:00
|
|
|
cmd: just validate
|
2024-02-26 23:22:01 +00:00
|
|
|
- name: Perform dependency resolution for all variants
|
|
|
|
ansible.builtin.command:
|
|
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
|
|
cmd: just compose-dry-run
|
2024-02-29 11:59:25 +00:00
|
|
|
- name: Compose the base variant
|
|
|
|
ansible.builtin.command:
|
|
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
|
|
cmd: just compose-legacy base
|