- name: Configuration de nginx template: src: nginx.conf.j2 dest: /etc/nginx/sites-available/default owner: root group: root mode: "0644" # équivalent à "u=rw,g=r,o=r" notify: Restart nginx