소스 검색

Install PHP MySQL extension even if the MySQL server is not installed locally

Emmanuel Bouthenot 10 년 전
부모
커밋
18eaaa055c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      roles/webserver/tasks/php.yml

+ 2 - 2
roles/webserver/tasks/php.yml

@@ -31,11 +31,11 @@
 
 - name: Install MySQL extension for PHP (native driver)
   apt: pkg=php5-mysqlnd state=installed update_cache=yes
-  when: with_php and not with_php_lt_54 and with_mysql is defined and with_mysql
+  when: with_php and not with_php_lt_54
 
 - name: Install MySQL extension for PHP (old driver)
   apt: pkg=php5-mysql state=installed update_cache=yes
-  when: with_php and with_php_lt_54 and with_mysql is defined and with_mysql
+  when: with_php and with_php_lt_54
 
 - name: Install PHPMyAdmin
   apt: pkg=phpmyadmin state=installed update_cache=yes