[packweb-apache] #66841 : ajout tâche update_userlogrotate.yml

pull/160/head
parent 8cdaee9658
commit 66563d0bf3
  1. 16
      packweb-apache/tasks/update_userlogrotate.yml

@ -0,0 +1,16 @@
---
- name: "Cherche l'emplacement de userlogrotate"
ansible.builtin.find:
path: /etc
patterns: userlogrotate
register: find_logrotate
- name: "Met-à-jour userlogrotate"
ansible.builtin.copy:
src: userlogrotate
dest: "{{ item }}"
mode: "0755"
loop: "{{ find_logrotate.files }}"
when: find_logrotate.files | length>0
Loading…
Cancel
Save