Click Here to go back to the README.md
Prior to the deployment of VM's, docker containers, kubernetes clustering is the initial software dependencies set-up of the main server computer. In this case, I have used Ansible to automate hardware provisioning to streamline deployment
git
with ubuntu install viasudo apt install -y git
pip
install viasudo apt install -y python3-pip
ansible
install viasudo python3 -m pip install -y ansible
- Add
PATH=$PATH:$HOME/.local/bin
to~/.bashrc
andsource
- Add linting for syntax highlighting via
sudo pip install ansible-lint
- Create
/etc/ansible/hosts
file and directory and populate with target installs
- Add
Hardware provisioning on the local hardware can be completed with the following ansible playbook
ansible-playbook hw_provisioning.yml --limit=localhost -K
If you would like to provision all the specified machines found in the ansible/inventory.ini
run the following
ansible-playbook hw_provisioning.yml -i inventory.ini -K
Click Here to go back to the README.md