Simple apt role to update systems
This role will execute an complete cycle of apt update/upgrade
Settings
No settings needed.
Running this role
Quick-Steps:
1. Create a playbook
nano ~/.ansible/playbooks/apt-playbook.yml
Drop the following in that playbook file:
#playbooks/apt-playbook.yml
---
- hosts: all
become: true
roles:
- cael.apt
2. Run the Playbook
ansible-playbook -l [target] -i [inventory file] -u [remote user] apt-playbook.yml