From ea4de46fc03331a0b53ee1c278c4cbe6586fe6af Mon Sep 17 00:00:00 2001 From: ePietry Date: Tue, 26 Mar 2024 17:01:59 +0100 Subject: [PATCH] minor imporvements --- ansible/playbooks/initial_ostree.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/playbooks/initial_ostree.yaml b/ansible/playbooks/initial_ostree.yaml index 8322bb9..887409d 100755 --- a/ansible/playbooks/initial_ostree.yaml +++ b/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