Browse Source

minor imporvements

ca-cert-and-multi-ks
ePietry 2 years ago
parent
commit
ea4de46fc0
  1. 8
      ansible/playbooks/initial_ostree.yaml

8
ansible/playbooks/initial_ostree.yaml

@ -15,7 +15,7 @@
- name: Push a blueprint
infra.osbuild.push_blueprint:
src: "/tmp/blueprints/blueprint.toml"
- name: Start ostree compose with idempotent transaction
- name: Start ostree compose
infra.osbuild.start_compose:
blueprint: rhel-edge-blueprint
allow_duplicate: true
@ -24,16 +24,16 @@
infra.osbuild.wait_compose:
compose_id: "{{ builder_compose_start_out['result']['body']['build_id'] }}"
timeout: 3600
- name: Create /tmp repo
- name: Create /tmp/images repo
ansible.builtin.file:
path: /tmp/images/
mode: '0755'
state: directory
- name: Export the compose artifact
- name: Export the compose artifact to /tmp/images
infra.osbuild.export_compose: # noqa only-builtins
compose_id: "{{ builder_compose_start_out['result']['body']['build_id'] }}"
dest: /tmp/images/{{ builder_compose_start_out['result']['body']['build_id'] }}.tar
- name: Recursively remove directory /var/www/repo
- name: Clear directory /var/www/repo
ansible.builtin.file:
path: /var/www/repo
state: absent

Loading…
Cancel
Save