diff --git a/packweb-apache/files/info.php b/packweb-apache/files/info.php new file mode 100644 index 00000000..cf608608 --- /dev/null +++ b/packweb-apache/files/info.php @@ -0,0 +1,3 @@ + diff --git a/packweb-apache/tasks/main.yml b/packweb-apache/tasks/main.yml index cf974547..2e835b24 100644 --- a/packweb-apache/tasks/main.yml +++ b/packweb-apache/tasks/main.yml @@ -23,6 +23,18 @@ php_fpm_enable: True when: packweb_apache_fpm +- name: install info.php + copy: + src: info.php + dest: /var/www/info.php + mode: "0644" + +- name: enable info.php link in default site index + lineinfile: + dest: /var/www/index.html + line: '
  • Infos PHP
  • ' + regexp: "Infos PHP" + - name: Add elements to user account template file: path: "/etc/skel/{{ item.path }}"