--- - name: Install packages ansible.builtin.package: name: "{{ item }}" state: installed with_items: - rsync - stunnel - 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 ansible.builtin.copy: dest: /usr/local/bin/rsync-ssl src: rsync-ssl mode: "0755" owner: root group: root