From 34b60d3beab2b8994350f5e889e1df24406a1588 Mon Sep 17 00:00:00 2001 From: Matthew Stobbs Date: Mon, 12 May 2025 19:56:55 -0600 Subject: [PATCH] fixed broken aquamarine build Signed-off-by: Matthew Stobbs --- tasks/helpers/cmake_build.yml | 7 ++++--- tasks/src/aquamarine.yml | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tasks/helpers/cmake_build.yml b/tasks/helpers/cmake_build.yml index da04057..71428f5 100644 --- a/tasks/helpers/cmake_build.yml +++ b/tasks/helpers/cmake_build.yml @@ -1,18 +1,19 @@ # vim: set filetype=yaml.ansible : --- -- name: "Configure {{ repo.git_path }}" +- name: "Configure {{ src_path }}" ansible.builtin.command: creates: "{{ src_path }}/build" chdir: "{{ src_path }}" argv: "{{ configure }}" -- name: "Build {{ repo.git_path }}" +- name: "Build {{ src_path }}" ansible.builtin.command: creates: "{{ build_creates }}" chdir: "{{ src_path }}" argv: "{{ build }}" -- name: "Install {{ repo.git_push }}" +- name: "Install {{ src_path }}" + become: "{{ do_become }}" ansible.builtin.command: creates: "{{ install_creates }}" chdir: "{{ src_path }}" diff --git a/tasks/src/aquamarine.yml b/tasks/src/aquamarine.yml index dc588df..8a07f9b 100644 --- a/tasks/src/aquamarine.yml +++ b/tasks/src/aquamarine.yml @@ -37,6 +37,7 @@ - name: Do build and install {{ pkg }} vars: + do_become: true src_path: "{{ srcconfig.aquamarine.src_path }}" configure: "{{ srcconfig.aquamarine.configure }}" build_creates: "{{ srcconfig.aquamarine.build_creates }}"