🔧 Configuração Vagrant
- A raiz do projeto possuí o arquvio Vagrantfile e os diretórios ansible e scripts:
-
'Vagrantfile'Vagrantfile
: provisiona cada máquina virtual, vem com a definição de 5 máquinas virtuais configuradas e pode ser alterado conforme suas necessidades. - 'scripts': contém os scripts que providenciam as instalações e principais definições para funcionamento do Ansible no servidor e nos hosts. As máquinas virtuais definidas no arquivos Vagrantfile devem conter um script para executar esses pré requistos para funcionamento do Ansible.
- 'ansible': contém as roles, playbook e arquivo de hosts necessários para funcionamento do Ansible e é compartilhada para a máquina virtual servidor do Ansible. Proporsionando uma edição fora do ambiente Linux, onde é possíve, como exemplo, a utilização do VS Code para edição do playbook e roles.
-