A short description of the project
The easiest way to ensure you have the right ansible and properly libs installed is to use pipx. You only have to set it up once:
python3 -m pip install pipx
pipx install ansible
- Run
ansible-galaxy install -r roles/requirements.yml -p roles
in this directory to get the required Ansible roles. - Run
ansible-playbook -c local -i inventory/inventory.ini nctu-hw-playbook.yml
- Run
ansible-galaxy install -r roles/requirements.yml -p roles
in this directory to get the required Ansible roles. - Run
ansible-playbook -i inventory/<inventory_file> --key-file "~/.ssh/<private_key>" -u <user-remote> nctu-hw-playbook.yml
- Run
ansible-galaxy install -r roles/requirements.yml -p roles
in this directory to get the required Ansible roles. - Run
ansible-playbook -i inventory/<inventory_file> --key-file "~/.ssh/<private_key>" -u <user-remote> nctu-hw-playbook.yml --diff --check
- Download and install VirtualBox.
- Download and install Vagrant.
- Create Virtual environment
- Run
ansible-galaxy install -r roles/requirements.yml -p roles
in this directory to get the required Ansible roles. - Run
vagrant up
fromprovisioner
folder to build the VM . - Run
vagrant destroy
fromprovisioner
folder to delete the VM .
MIT license
Release date: 2021-07-05 Version: 0.1.0