A collection of ansible playbooks
-
Install Ansible on the machine that is provisioning your servers.
-
Make sure to configure your /etc/ansible/hosts
[servers] server1 ansible_host=<PROVISIONED SERVER IP> ansible_user=<DESIRED USER> [all:vars] ansible_python_interpreter=/usr/bin/python3
Variables are not adequately extracted.
- Run:
ansible-playbook run.yml
(may require-kK
options for first run to prompt for passwords)
ansible-playbook run.yml -t minecraft -kK --ask-vault-password -i inventory
hoping to someday be something like https://github.com/notthebee/infra