diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-09-22 17:47:51 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-09-22 17:47:51 +0200 |
| commit | 30fd2a0ecc6ffa7aa9d742e329ca51b3cf116b83 (patch) | |
| tree | d5977c97b78a8be5a9eced08b12cfc540d20cc7a /roles/rsync | |
| parent | 11bf978318f74f6f7701e9f5d669bef5b9862107 (diff) | |
Add simple rsync role used to sync between hosts
Diffstat (limited to 'roles/rsync')
| -rw-r--r-- | roles/rsync/meta/argument_specs.yml | 6 | ||||
| -rw-r--r-- | roles/rsync/meta/main.yml | 18 | ||||
| -rw-r--r-- | roles/rsync/tasks/main.yml | 6 |
3 files changed, 30 insertions, 0 deletions
diff --git a/roles/rsync/meta/argument_specs.yml b/roles/rsync/meta/argument_specs.yml new file mode 100644 index 00000000..60d91aae --- /dev/null +++ b/roles/rsync/meta/argument_specs.yml @@ -0,0 +1,6 @@ +--- +argument_specs: + main: + short_description: "Install rsync on Linux distribution" + description: "Install rsync on Linux distribution" + options: {} diff --git a/roles/rsync/meta/main.yml b/roles/rsync/meta/main.yml new file mode 100644 index 00000000..861fd337 --- /dev/null +++ b/roles/rsync/meta/main.yml @@ -0,0 +1,18 @@ +--- +dependencies: [] +galaxy_info: + author: "a14m" + description: "Install rsync" + company: "kartoffeln.work GmbH." + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" + - name: "Ubuntu" + versions: + - "noble" + - name: "Debian" + versions: + - "bookworm" diff --git a/roles/rsync/tasks/main.yml b/roles/rsync/tasks/main.yml new file mode 100644 index 00000000..16ae7a83 --- /dev/null +++ b/roles/rsync/tasks/main.yml @@ -0,0 +1,6 @@ +--- +- name: "Ensure rsync is installed" + become: true + ansible.builtin.package: + name: "rsync" + state: "present" |
