create default variables, first step for ubuntu support
This commit is contained in:
parent
90f601eaa0
commit
6a989b6007
|
@ -1,4 +1,6 @@
|
||||||
---
|
---
|
||||||
# webserver_dehydrated_email: "" # required
|
# webserver_dehydrated_email: "" # required
|
||||||
webserver_php_enabled: False
|
|
||||||
webserver_tls_enabled: True
|
webserver_tls_enabled: True
|
||||||
|
webserver_php_enabled: False
|
||||||
|
webserver_php_ini: /etc/php/php.ini
|
||||||
|
webserver_php_service: "php-fpm.service"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
- name: enable extension
|
- name: enable extension
|
||||||
notify: restart php-fpm
|
notify: restart php-fpm
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/php/php.ini
|
path: '{{ webserver_php_ini }}'
|
||||||
regexp: ';extension={{ item }}'
|
regexp: ';extension={{ item }}'
|
||||||
line: "extension={{ item }}"
|
line: "extension={{ item }}"
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
- name: enabled and started php-fpm
|
- name: enabled and started php-fpm
|
||||||
systemd:
|
systemd:
|
||||||
name: php-fpm
|
name: "{{ webserver_php_service }}"
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue