Materials for talk "Functional programming design patterns in Ansible code"
Talk page https://kksat.github.io/s/functional-ansible
git clone git@github.com:kksat/functional-ansible.git
cd functional-ansible
make help # All available commands
make playbooks # Get list of playbooks you can execute
This repo contains Ansible collection functional.ansible with Ansible roles that present some functional ansible concepts.
For each role there is a corresponding playbook in playbooks directory.
In order to run the playbooks you can use make with playbook name.
make playbooks # Get list of playbooks you can execute
make <playbook-name> # Run playbook
GNU make is used to utilize virtual environments to run playbooks so you do not have to install anything on your host.