What is X:
What you need to prepare:
- OS for your ansible (I am using ubuntu 18.04 LTS on Hyper-V with multipass) -- download multipass here
- VyOS image (I am using vyos-1.1.8-amd64) -- download image here
- Hypervisor for your Ansible & VyOS (I am using Hyper-V)
Implementation:
- After installing multipass, you could launch ubuntu-lts on your Hyper-V.
- Install VyOS on Hyper-V
Create virtual switch 'Internal' and 'External':
Create new VM on Hyper-V:
- Login into VyOS using user/pass: vyos/vyos
- Install VyOS by using following command: "install system"
- After installation process succeeded, unmount DVD/ISO so that booting process will be running from HDD.
Configure interface eth0 & eth1 on VyOS:
- Install VyOS by using following command: "install system"
- After installation process succeeded, unmount DVD/ISO so that booting process will be running from HDD.
Configure interface eth0 & eth1 on VyOS:
- Install Ansible on your Ubuntu
- Integrate Ansible <<>> VyOS
Configure SSH service:
Setting up your playbook for VyOS:
Running your ansible-playbook:
Sources:
https://support.vyos.io/en/downloads/files/vyos-1-1-8-iso
https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-ansible-on-ubuntu
https://wiki.vyos.net/wiki/Remote_access
INE Video Tutorial: Ansible with Vyatta
https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-ansible-on-ubuntu
https://wiki.vyos.net/wiki/Remote_access
INE Video Tutorial: Ansible with Vyatta
Tidak ada komentar:
Posting Komentar