-
Specifies the roles to be performed in site.yaml
# site.yaml
---
roles:
- golang
- nodejs
- ruby
- Type the version of programming languages you want to install in vars/version.yaml
# vars/version.yaml
---
vars:
version:
golang: 1.17
nodejs: 14.17.5
ruby: 3.0.2
$ ansible-playbook site.yaml