Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cfbs.json
Original file line number Diff line number Diff line change
Expand Up @@ -548,10 +548,10 @@
},
"install-ansible": {
"description": "Optionally install ansible.",
"subdirectory": "software",
"subdirectory": "software/install-ansible",
"steps": [
"copy install-ansible.cf services/cfbs/software/install-ansible.cf",
"policy_files services/cfbs/software/install-ansible.cf",
"copy install-ansible.cf services/cfbs/software/install-ansible/install-ansible.cf",
"policy_files services/cfbs/software/install-ansible/install-ansible.cf",
"bundles install_ansible"
]
},
Expand Down
15 changes: 15 additions & 0 deletions software/install-ansible/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
This module ensures that Ansible is installed on a system.

## Configuration

There are three classes which can be used to specify whether to install ansible and which version: minimal or full.

- `data:install_ansible` - if defined, install ansible (default is full install)
- `data:ansible_minimal_install` - if defined, install minimal version aka ansible-core
- `data:ansible_full_install` - if defined, install full version.

Additionally it is possible to request a specific version other than the latest/default by way of a variable.

- `data:install_ansible.version` - if this variable is defined then a specific version will be installed

Note that the system in question must have a `pipx` package available through the default package manager as well as python installed which should come along as a dependency of `pipx`.
Loading