2024-03-01 18:32:37 +00:00
|
|
|
- hosts: all
|
|
|
|
tasks:
|
|
|
|
- name: Install dependencies
|
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- 'jq'
|
|
|
|
- 'just'
|
|
|
|
- 'ostree'
|
|
|
|
- 'python3-pyyaml'
|
|
|
|
- 'rpm-ostree'
|
|
|
|
- 'selinux-policy-targeted'
|
|
|
|
state: present
|
2024-03-01 18:37:01 +00:00
|
|
|
become: true
|
2024-03-01 18:32:37 +00:00
|
|
|
- name: Validate manifests and scripts syntax
|
|
|
|
ansible.builtin.command:
|
|
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
|
|
cmd: just validate
|
|
|
|
- name: Perform dependency resolution for all variants
|
|
|
|
ansible.builtin.command:
|
|
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
|
|
cmd: just compose-dry-run
|
|
|
|
- name: Compose the base variant
|
|
|
|
ansible.builtin.command:
|
|
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
|
|
cmd: just compose-legacy base
|