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 }}"