Files
local.realm.ansible/roles/cael.apt/tasks
..
2024-07-10 09:30:45 +02:00
2021-02-11 09:45:13 +01:00

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