The CFEngine ansible role installs CFEngine on a host using cf-remote and optionally bootstraps it to a Hub.
This role requires pip
in the Ansible control node.
You can install this role using Ansible Galaxy:
$ ansible-galaxy install tranchitella.cfengine
Name | Desecription | Required | Default value |
---|---|---|---|
version |
CFEngine version to install | No | Latest available version |
edition |
CFEngine edition (community or enterprise ) |
No | community |
package |
Package to install (client or hub ) |
No | client |
bootstrap |
If set, bootstraps CFEngine from the provided host | No | "" |
trust_keys |
Comma-separated paths to the keys the hosts should trust | No | "" |
Simple example to install the CFEengine client:
- hosts: servers
roles:
- role: "tranchitella.cfengine"
version: 3.17.0
edition: "enterprise"
bootstrap: "10.0.0.1"
You can find a more elaborated example, installing both the hub and a client specifying the policy server's key as trusted, in the test playbook.
Please see the CONTRIBUTING.md file.
CFEngine was originally created by Mark Burgess with many contributions from around the world. Thanks everyone!
CFEngine is sponsored by Northern.tech AS
GNU General Public License v3.0 or later.
See LICENSE to see the full text.