blob: 167d0b35e135fd99b4a28df900901ca97c1e1a9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# This playbook contains example maintenance tasks which could be performed
# on a running Alpine Linux system.
#
# Copyright (c) 2013-2019 Fabian Affolter <fabian@affolter-engineering.ch>
#
# All rights reserved. Licensed under CC BY 3.0
#
---
- hosts: all
user: root
tasks:
# Package management tasks
# Available tags:
# update_cache
# clean_chache
# update
# local_cache (needs --extra-vars "path=/var/cache/apk")
# add_pkg (needs --extra-vars "add_pkg=Package name")
# del_pkg (needs --extra-vars ""del_pkg=Package name")
- include: tasks/pkg-management.yml
handlers:
- include: handlers/system.yml
|