mirror of
https://github.com/DaanSelen/meshbook.git
synced 2026-02-21 00:42:14 +00:00
SUPER! Support for variables, might be a little bit buggy for now!
This commit is contained in:
12
examples/refresh_aptcache.yaml
Normal file
12
examples/refresh_aptcache.yaml
Normal 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"
|
||||
Reference in New Issue
Block a user