--- - name: Download Warehost-ftp get_url: url=https://warehost.sum7.eu/downloads/current/warehost-ftp dest=/usr/local/bin/warehost-ftp owner=root group=root mode=0755 force=yes notify: restart warehost-ftp - name: Create data folder file: path={{warehost_ftp_own_path}} state=directory owner=warehost group={{http_grp}} mode=0770 - name: Configurate warehost template: src=config.yml dest=/etc/warehost/ftp.conf owner=warehost mode=0600 notify: restart warehost-ftp - name: Install service template: src=warehost-ftp.unit dest=/lib/systemd/system/warehost-ftp.service owner=root mode=644 notify: - reload daemon-reload - restart warehost-ftp - name: Enable warehost service: name=warehost-ftp state=started enabled=yes