My base Ansible template, a good start to deploy to a dynamic host environment where inventories change on the fly, creating roles is outside the scope of this template.
It's a good place too start when writing Ansible roles that need to expand dynamically.
ansible-playbook -i 'localhost,' ./play.yml -e "ROLE=<role>" -e "TARGET=<n.n.n.n|host@fqdn>" -e "USER=$USER"
- ansible-playbook -- The CLI command invoking ansible to run a specific playbook "play.yml"
- -i 'localhost,' -- Our ansible host inventory specification from where the playbook will be executed.
- -e "VAR=$VAR" -- Variables handled during runtime of the playbook either passed via a terminal command or any CICD tool such as Jenkins etc.
- Please note the TARGET variable is extremely important, this specifies the target machine to be configured by our playbook.
What do you need?
Any operating system that supports:
Git
Ansible
- Ansible - The automation tool used
- Vagrant - Portable virtual software maintainer
- Virtualbox - General-purpose full virtualizer for x86 hardware
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Renaldo Maclons - Initial work - RNJudas
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Anyone who ever used ansible/vagrant/Linux