This repository is an example of closer-to-real-world infrastructure management with ansible.
This is not a production ready solution.
This is not an ansible galaxy collection.
- Set up
vagranton your machine (notebook, PC, etc). https://www.vagrantup.com/downloads - Clone this repository.
git clone https://github.com/mxpaul/infragrant.git - Run
vagrant upat repository root
cd infragrant
vagrant up- Set up all servers with vagrant
make ansible
- Only set up named on ns1 machine:
make ANSIBLE_PLAYBOOK_FLAGS="--tags named" ANSIBLE_LIMIT=ns1 ansible