An Ansible role to fetch and install the latest CMake tarball from the www.cmake.org website.
None
cmake_version3.20 The version of CMake to fetch from cmake.orgcmake_patch_version5 The minor version of CMake to fetch from cmake.orgcmake_dest_dir/opt/cmake Where to install the CMake tarballcmake_modify_pathTrue Add CMake's PATH to .bashrc?
None
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: dockpack.base_cmake, cmake_version: "3.20", cmake_patch_version: "5" }
BSD
Keith Fieldhouse [email protected]
Bas Meijer [email protected]