fc692cf65b
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Use “when: not ansible_check_mode” or “when <file>.stat.exists or not
ansible_check_mode” in order to provide a meaningful diff if possible.
This is an improvement from the previously reverted commit
1728eaee68
.
14 lines
254 B
YAML
14 lines
254 B
YAML
---
|
|
|
|
- name: patch must be installed
|
|
apt:
|
|
name: patch
|
|
state: present
|
|
|
|
- name: Patch ProFTPd config file
|
|
patch:
|
|
remote_src: False
|
|
src: ftp/evolinux.conf.diff
|
|
dest: /etc/proftpd/conf.d/z-evolinux.conf
|
|
when: not ansible_check_mode
|