Milestone 7.2 Ansibilizing Ubuntu Servers - absentee-neptune/SYS-480 GitHub Wiki

Basically, this is the same process as 7.1, though configuring the network for an ubuntu system is completely different than centOS, so a different configuration method is needed


Before moving on, download the ubuntu-server iso from the foster-synology share and create a base VM of the system using the same methods we have done for the other base VMs

Deploying Ubuntu 1-2

  • Using cloner.ps1 and cloner.json from Milestone 6, deploy two linked clones of ubuntu.20.04.base on the BLUE8_LAN network
  • links to files:

Getting the IP Addresses

  • Using the getIP() function created in utility.ps1, get the IPs of the deployed Ubuntu systems, and put them in an Ansible file under [ubuntu_server]. This is so that, using ansible, we can check the connection by pinging the systems.
    • command to ping systems using Ansible:
      • ansible ubuntu_server -m ping -i ansible_provision_7.txt -u deployer --ask-pass
  • links to files:

Checking the DHCP Leases

  • ssh into fw-blue8 to review the DHCP service:
    • show dhcp server statistics
    • show dhcp server leases

Ansible Scripts

Make sure the appropriate IP addresses are added to the Ansible Provisioning files for the appropriate connection

  • Two Ansible Scripts are to be created:
    • One to push the public key of xubuntu-wan to the deployed Ubuntu machines to allow password-less log-ins
    • Another to change the network settings of the deployed Ubuntu machines to static IP addresses using the proper configurations