community.general.lbu – Local Backup Utility for Alpine Linux
This plugin is part of the community.general collection (version 3.8.3).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install community.general.
To use it in a playbook, specify:
New in version 0.2.0: of community.general
Control whether to commit changed files.
List of paths to exclude.
List of paths to include.
# Commit changed files (if any) - name: Commit community.general.lbu: commit: true # Exclude path and commit - name: Exclude directory community.general.lbu: commit: true exclude: - /etc/opt # Include paths without committing - name: Include file and directory community.general.lbu: include: - /root/.ssh/authorized_keys - /var/lib/misc