Ansible role for initial server provisioning by doing some super basic actions such as updating the system and installing core packages.
The vars/main.yml
file should contain your list of packages you want to install in order to override defaults found in defaults/main.yml
. Additionally, you can overwrite the variables as part of your playbook.
---
system_packages:
- build-essential
- python-software-properties
- curl
- etc
Note: Some packages will already be in place with default Ubuntu install but there is no harm in making sure.
If you run into errors, uncomment the - debug: msg="{{ ... }}"
statements.