The goal of this repository is to provide a simple, reproducible way to deploy AdGuard on a Fedora CoreOS server inside of VMware with Static IPs.
Start by editing the group_vars/all.yml
file:
-
Set the vCenter variables
- IP/Host Name of vCenter
- vCenter Network
- Datastore name
- Datacenter name
- username and passwords of vCenter Account
- Absoluate folder path - e.g /DataCenter/vm/Folder/
- VM Power state after being deployed
-
Configure your Fedora CoreOS URL and govc version.
- To get the URL for VMware ova of the latest stable release of visit this link: Download Fedora CoreOS
-
Configure your AdGuard VM Settings
- VM and Host Name
- IP Addr, Gateway, Net Mask, DNS
- Number of CPUs
- Amount of Memory in MB
- Size of the HDD in GBs
- vSphere ESXi and vCenter 6.7 or 7.0 installed.
- A datacenter created with a vSphere host added to it and a datastore exists that has adequate capacity.
- Ansible (preferably latest) on the machine where this repo is cloned.
- Before you install Ansible, install the
epel-release
, runyum -y install epel-release
- Before you install Ansible, install the
# Deploy the Lab and all components
ansible-playbook deploy-adguard.yml
skip_ova=true
- Skips downloading and deploying the OVA if previous deployed to vCenter.
redeploy=true
- Deletes existing AdGuard vm
- Necessary Linux packages installed for the installation
- Necessary folders [bin, downloads] created
- govc downloaded and extracted
- FCOS ova downloaded to the downloads folder
- AdGuard VM is created in the designated folder and (in state of) poweredon
Morgan Peterman