finished with a bunch more
This commit is contained in:
@@ -1,5 +1,23 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Append cmake to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ['cmake'] }}"
|
||||
- name: Configure cmake
|
||||
when:
|
||||
- "'cmake' not in __configured"
|
||||
block:
|
||||
- name: Set cmake install method
|
||||
when:
|
||||
- cmake_install_method is undefined
|
||||
ansible.builtin.set_fact:
|
||||
cmake_install_method: "{{ install_method if install_method in cmake.install_methods else cmake.install_methods[0] }}"
|
||||
|
||||
- name: Configure cmake system install
|
||||
when:
|
||||
- cmake_install_method == "system"
|
||||
block:
|
||||
- name: Append cmake to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ['cmake'] }}"
|
||||
|
||||
- name: Finalize cmake configuration
|
||||
ansible.builtin.set_fact:
|
||||
__configured: "{{ __configured | combine( { 'cmake': cmake_install_method } ) }}"
|
||||
|
||||
Reference in New Issue
Block a user