Configuration Management
Configuration Management
Founded by Michael DeHaan, Ansible has become the de facto standard for configuration management.
Documentation
Setup
Add our dependency on ansible.
~/projet-cloud/ $ yq -i e '.dependencies["ansible.com"]="*"' pkgx.yamlRe-activate our contextual environment.
This will use packer and terraform from the pkgx cache and cache the newly referenced ansible binary.
~/projet-cloud/ $ dev off
env -packer.io -terraform.io^1.6~/projet-cloud/ $ dev on
✓ ~/.pkgx/ansible.com/v2.17.3
env +packer.io +terraform.io^1.6 +ansible.comThe ansible command is now available in our environment.
~/projet-cloud/ $ ansible
usage: ansible [-h] [--version] [-v] [-b] [--become-method BECOME_METHOD] [--become-user BECOME_USER]
pattern
ansible: error: the following arguments are required: pattern