Files
meshbook/examples/refresh_aptcache.yaml

12 lines
278 B
YAML

---
name: Refresh the apt cache
company: Temp-Agents
variables:
- name: package_manager
value: "apt"
tasks:
- name: refresh the cache
command: "{{ package_manager }} update"
- name: display available upgrades
command: "{{ package_manager }} list --upgradable"