diff --git a/tasks/main.yml b/tasks/main.yml index 46c11065c87aa52ef5f824866596f098fd536d61..f6616e91973721373553a4de9c0406607f743210 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -20,6 +20,16 @@ - 'fpm' when: php_version|default("5.5") == "7" + - name: "Link PhpEnMod for PHP 5.3" + file: + dest: '/usr/local/bin/php{{ item }}' + src: '/usr/sbin/php5{{ item }}' + state: 'link' + with_items: + - 'enmod' + - 'dismod' + when: php_version|default("5.5") == "5.3" + - name: 'PHP | Remember that this role had been run' set_fact: role_php_completed=true tags: always