Rsync Ansible Role¶
An Ansible role to install, configure, and manage rsync on Debian-based systems.
Features¶
- Installs rsync on debian systems
- Uninstalls rsync on debian systems
Installation¶
First add the following line to your requirements.yml file:
roles:
- name: rsync
src: https://gitlab.com/niclas-zone/tools/ansible/roles/rsync.git
version: main
scm: git
After that, install the role by executing the following command:
Role Variables¶
| Variable | Default Value | Type | Description |
|---|---|---|---|
rsync_state |
present |
string | Desired package state (present or absent) |
rsync_packages |
rsync | string | Packages needed for rsync |
ansible_managed_warning |
"This file is managed by Ansible. Manual changes will be overwritten." |
string | Warning text included in Ansible-managed files |
ansible_role_repository |
https://gitlab.com/niclas-zone/tools/ansible/roles/podman |
string | Repository link where the role is maintained |