Skip to content

Ansible Role for Installing CMake from Linux Tarball on cmake.org

Notifications You must be signed in to change notification settings

dockpack/base_cmake

 
 

Repository files navigation

base_cmake

Galaxy Build Status

An Ansible role to fetch and install the latest CMake tarball from the www.cmake.org website.

Requirements

None

Role Variables

  • cmake_version 3.20 The version of CMake to fetch from cmake.org
  • cmake_patch_version 5 The minor version of CMake to fetch from cmake.org
  • cmake_dest_dir /opt/cmake Where to install the CMake tarball
  • cmake_modify_path True Add CMake's PATH to .bashrc?

Dependencies

None

Example Playbook

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

License

BSD

Author Information

Keith Fieldhouse [email protected]

Bas Meijer [email protected]

Packages

No packages published

Languages

  • Makefile 63.6%
  • Jinja 36.4%