See Ansible's Installation Guide.
To run the playbook against localhost, ensure that the inventory file is set up correctly
# inventory/local.ini
[localhost]
127.0.0.1
To install workspace dependencies and configurations,
run the configure_all.yaml
playbook.
ansible-playbook playbooks/configure_all.yaml -i inventory.ini --connection=local -K
Alternatively, run make install
to run the configure_all
play.
A generic configure
playbook is configured that accepts a role name.
The configure playbook will run only that role.
This play can also be run from the Makefile using make configure config=$ROLE_NAME
.
For example:
make configure config=neovim