Dependancies#


This seems to work best with the following Ansible version.

  • ansible [core 2.16.3]

Clone Repository#


Repository can be cloned using the following command.

git clone https://github.com/n3s0/ubuntu-update-playbook.git

Configuring User#


An ansible user needs to be configured in the vars. This will be used to SSH into the server.

One thing that I would recommend it to use key authentication so you don’t have to worry about storing credentials for your servers.

Add Servers To Inventory#


Servers will need to be added to the hosts file in the project root. This can be accomplished by editing the hosts file and adding them one line at a time in servers.

Below is an example:

[servers]
localhost
til-inf-01