rsync: ansible-lint fixes

This commit is contained in:
Timo Makinen 2022-10-30 15:36:22 +00:00
parent 3bb639d481
commit de90ffc636
2 changed files with 20 additions and 21 deletions

View file

@ -1,23 +1,22 @@
---
- name: install rsync packages
package:
- name: Install packages
ansible.builtin.package:
name: "{{ item }}"
state: installed
with_items:
- rsync
- stunnel
- name: install rsync stunnel wrapper
template:
- name: Install rsync stunnel wrapper
ansible.builtin.template:
dest: /usr/local/libexec/rsync-ssl-tunnel
src: rsync-ssl-tunnel.j2
mode: 0755
owner: root
group: root
- name: install rsync-ssl
copy:
- name: Install rsync-ssl
ansible.builtin.copy:
dest: /usr/local/bin/rsync-ssl
src: rsync-ssl
mode: 0755