add php to webservers
This commit is contained in:
6
roles/webserver/tasks/install_php.yml
Normal file
6
roles/webserver/tasks/install_php.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: webserver | apache | installing php
|
||||
package:
|
||||
name:
|
||||
- php
|
||||
- php-mysqli
|
||||
state: latest
|
||||
@@ -14,6 +14,7 @@
|
||||
when:
|
||||
- nginx is defined
|
||||
- nginx == true
|
||||
- import_tasks: install_php.yml
|
||||
- name: webserver | certbot | install certbot
|
||||
package:
|
||||
name: certbot
|
||||
|
||||
Reference in New Issue
Block a user