From 9f01e1869df1333ff7dbd157cbd2cfb17f6c7997 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Thu, 7 Sep 2017 23:16:41 +0200 Subject: [PATCH] Add info.php --- packweb-apache/files/info.php | 3 +++ packweb-apache/tasks/main.yml | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 packweb-apache/files/info.php 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 }}"