SUPER! Support for variables, might be a little bit buggy for now!

This commit is contained in:
Daan
2024-11-28 09:41:49 +01:00
parent 7fb2d21acf
commit f05ab15d4b
7 changed files with 71 additions and 38 deletions

View File

@@ -0,0 +1,12 @@
---
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"