ansible-roles/webapps/evoadmin-web/tasks/ftp.yml

19 lines
405 B
YAML
Raw Normal View History

2017-07-03 18:22:24 +02:00
---
2017-10-07 21:45:46 +02:00
- name: patch must be installed
ansible.builtin.apt:
2017-10-07 21:45:46 +02:00
name: patch
state: present
2017-07-03 18:22:24 +02:00
2017-10-07 21:45:46 +02:00
- name: Patch ProFTPd config file
ansible.posix.patch:
remote_src: False
2017-10-07 21:45:46 +02:00
src: ftp/evolinux.conf.diff
dest: /etc/proftpd/conf.d/z-evolinux.conf
- name: Remove .orig file created by previous patch task
ansible.builtin.file:
path: /etc/proftpd/conf.d/z-evolinux.conf.orig
state: absent