19 lines
405 B
YAML
19 lines
405 B
YAML
---
|
|
|
|
- name: patch must be installed
|
|
ansible.builtin.apt:
|
|
name: patch
|
|
state: present
|
|
|
|
- name: Patch ProFTPd config file
|
|
ansible.posix.patch:
|
|
remote_src: False
|
|
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
|
|
|