An Ansible role to fetch and install the latest CMake tarball from the www.cmake.org website.
None
cmake_version
3.20 The version of CMake to fetch from cmake.orgcmake_patch_version
5 The minor version of CMake to fetch from cmake.orgcmake_dest_dir
/opt/cmake Where to install the CMake tarballcmake_modify_path
True 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 keith.fieldhouse@kitware.com
Bas Meijer bas.meijer@me.com