diff --git a/tasks/main.yml b/tasks/main.yml index 65afd13..eecd984 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -54,7 +54,7 @@ - name: Création du fichier d'index avec les bonnes permissions file: path: "{{ tinystatus_webdir }}/{{ tinystatus_pagefile }}" - state: touch + state: file owner: "{{ tinystatus_user }}" group: "{{ tinystatus_grp }}" setype: httpd_sys_content_t